Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend: replace UNIX_TIMESTAMP with FROM_UNIXTIME in statement query #731

Merged
merged 4 commits into from
Aug 7, 2020

Conversation

ericsyh
Copy link
Contributor

@ericsyh ericsyh commented Aug 7, 2020

Why for change

To fix #582

What did i do

Follow suggestion, replaced UNIX_TIMESTAMP with FROM_UNIXTIME in statement query where condition.

Copy link
Contributor

@kennytm kennytm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest LGTM

pkg/apiserver/statement/queries.go Outdated Show resolved Hide resolved
pkg/apiserver/statement/queries.go Outdated Show resolved Hide resolved
pkg/apiserver/statement/queries.go Outdated Show resolved Hide resolved
ericsyh and others added 3 commits August 7, 2020 16:54
apply

Co-authored-by: kennytm <kennytm@gmail.com>
apply

Co-authored-by: kennytm <kennytm@gmail.com>
apply

Co-authored-by: kennytm <kennytm@gmail.com>
Copy link
Collaborator

@baurine baurine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@breezewish breezewish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

@breezewish breezewish merged commit d50adbf into pingcap:master Aug 7, 2020
@ericsyh ericsyh deleted the query-issue-588 branch August 7, 2020 09:25
breezewish pushed a commit that referenced this pull request Sep 8, 2020
breezewish added a commit that referenced this pull request Sep 8, 2020
* feature: Query Editor (#713)
* Backend: replace UNIX_TIMESTAMP with FROM_UNIXTIME in statement query (#731)
* test: Stablize e2e tests (#732)
* ui: Add store location tree (#728)
* log_search: Display instance port (#722)
* ui: show store location topology (#719)
* ui: Online Config (#733)
* ui: Support sharing session (#741)
* doc: Update to sig-diagnosis (#742)
* statement: Display number of plans in the list (#746)
* log search: return zip instead of tar or gzip (#724)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Statement summary query is non-sargeable
5 participants