aliyun / aliyun/aliyun-log-python-sdk

get_log_all support auto-pagination for SQL based statement

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
176
Forks
119
Avg merge
3h 56m
Merged PRs (30d)
2

Description

now the SQL has support the pagination feature, need to automatically support it in get_log_all..

    • | select component
      by default it only return first 100 rows, get_log_all should return all by automatically:
  • | select component 0,10000
  • | select component 1,10000 till the returned rows < 10000
    • | select component limit 200
      it will return all 200 rows
  1. component: abc
    it will return all matched rows

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the get_log_all implementation and the existing SQL pagination support. Verify how it handles the three stated query forms, including the 10,000-row pages and the limit 200 case; done means each returns all matching rows and stops when fewer than a page is returned.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.