-
Notifications
You must be signed in to change notification settings - Fork 871
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
[Auto Suggest] PPL & SQL Value Suggestion #8275
base: main
Are you sure you want to change the base?
[Auto Suggest] PPL & SQL Value Suggestion #8275
Conversation
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8275 +/- ##
==========================================
- Coverage 64.14% 64.10% -0.04%
==========================================
Files 3743 3743
Lines 88833 88836 +3
Branches 13852 13855 +3
==========================================
- Hits 56979 56951 -28
- Misses 31239 31270 +31
Partials 615 615
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
@@ -285,6 +285,7 @@ export default class QueryEditorUI extends Component<Props, State> { | |||
indexPattern, | |||
position, | |||
services: this.services, | |||
dataset: this.queryString.getQuery().dataset, |
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.
Do we need to pass dataset
in here if services
is already being passed in? It's already included in services
if you use services.data.query.queryString.getQuery().dataset
.
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.
i guess a lot of the parameters can be removed if we can get querystring from services, let me see about that
@@ -63,7 +65,7 @@ const fetchFromAPI = async (api: any, body: string) => { | |||
export const fetchData = ( | |||
tables: string[], | |||
queryFormatter: (table: string, dataSourceId?: string, title?: string) => any, | |||
api: any, | |||
http: any, |
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.
Define http: HttpSetup
tables: string[], | ||
column: string, | ||
services: IDataPluginServices, | ||
dataset?: Dataset |
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.
Why is dataset
optional here? Would it still work without it?
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.
Do these settings need to have the page reloaded? @kavilla
Description
Issues Resolved
Screenshot
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration