-
Notifications
You must be signed in to change notification settings - Fork 105
Dynamic QueryBuilder For benchmark + ListMetadataApi & get_time_series Api #7350
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
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
sorry it seems the file moving messed up in this pr, and make things looks like new file. @huydhn |
@@ -0,0 +1,185 @@ | |||
import { queryClickhouse } from "lib/clickhouse"; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@huydhn
this is the key of dynamica builder for sql schema
@@ -0,0 +1,181 @@ | |||
import { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@huydhn
the main endpoint for listMetadata builder
@@ -0,0 +1,42 @@ | |||
import { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main module where we store all fetchers @huydhn
}; | ||
} | ||
|
||
export class PytorchOperatorMicrobenchmarkMetadataFetcher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
customized list metadata option api for micro torch operator api
* - applyFormat(): to format the data to the desired format, default is time series | ||
* | ||
*/ | ||
export class BenchmarkDataQuery extends ExecutableQueryBase { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@huydhn getBenchmarkDataQuery
this is the main backend fetch to fetch benchmark data
* It inherits method from BenchmarkDataQuery | ||
* | ||
*/ | ||
export class PytorchOperatorMicroBenchmarkDataFetcher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@huydhn this is the customized fetcher for PytorchOperatorMicroBenchmarkDataFetcher
it has customized extra_keys
and additioanl filter logics to fetch data only has operatorName
Overview
BE
FE and Backend should not depends/share same module, make it clear the use cases