-
Notifications
You must be signed in to change notification settings - Fork 141
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
Populate indexName for BatchQuery #2956
Populate indexName for BatchQuery #2956
Conversation
Signed-off-by: Tomoyuki Morita <[email protected]>
How are we executing create manual indices earlier? |
@@ -106,6 +106,13 @@ public DispatchQueryResponse submit( | |||
.resultIndex(dataSourceMetadata.getResultIndex()) | |||
.datasourceName(dataSourceMetadata.getName()) | |||
.jobType(JobType.INTERACTIVE) | |||
.indexName(getIndexName(context)) |
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.
As mentioned below, we can't have name in all kinds of flint index queries? What is the indexName used for?
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.
DQS uses index name to populate their database to find the query where the index is created. For other query, it would become null, and that should be fine.
It used to be handled by interactive job. It did not populate indexName as well. |
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.
lgtm
Signed-off-by: Tomoyuki MORITA <[email protected]>
Signed-off-by: Tomoyuki Morita <[email protected]>
* Populate indexName for BatchQuery Signed-off-by: Tomoyuki Morita <[email protected]> * Fix test failure due to rebase Signed-off-by: Tomoyuki Morita <[email protected]> --------- Signed-off-by: Tomoyuki Morita <[email protected]> Signed-off-by: Tomoyuki MORITA <[email protected]> (cherry picked from commit b76aa65) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Populate indexName for BatchQuery * Fix test failure due to rebase --------- (cherry picked from commit b76aa65) Signed-off-by: Tomoyuki Morita <[email protected]> Signed-off-by: Tomoyuki MORITA <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Related Issues
n/a
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.