You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no dedicated commands for index refresh management. For restart, we overload CREATE IF NOT EXISTS to serve this purpose. However, this caused problem like there is no way to differentiate create or restart.
What solution would you like?
Proposed solution is to provide dedicated commands as below (spec will be finalized later):
SHOW INDEX JOBS [ON tableName]
Description: Show Flint index info including properties. This is like an enhanced SHOW command with some DESC info for caller convenience.
# Example: Show all jobs
SHOW INDEX JOBS
Flint job name | kind | auto_refresh | properties
-----------------------------------------------------------
flint_http_logs_skipping_index | skipping | false | {}
flint_alb_logs_elb_and_requestUri_index | covering | true | { ... }
flint_alb_logs_elb_and_clientIp_index | covering | true | { ... }
# Example: Show specific job
SHOW INDEX JOBS ON alb_logs
Flint job name | kind | auto_refresh | properties
-----------------------------------------------------------
flint_alb_logs_elb_and_requestUri_index | true | { ... }
flint_alb_logs_elb_and_clientIp_index | true | { ... }
# Example: Show MV job
SHOW INDEX JOBS ON alb_logs_metrics
Flint job name | kind | auto_refresh | properties
-----------------------------------------------------------
flint_alb_logs_metrics | mv | true | { ... }
RECOVER INDEX JOB flintJobName
Description: Restart index streaming job. It's caller responsibility to make sure previous streaming job already stopped (because it maybe in other SparkContext).
# Examples: Recover skipping index job
RECOVER INDEX JOB flint_http_logs_skipping_index
success
# Examples: Recover covering index job
RECOVER INDEX JOB flint_alb_logs_elb_and_requestUri_index
success
# Examples: Recover MV job
RECOVER INDEX JOB flint_alb_logs_metrics
success
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Currently, there is no dedicated commands for index refresh management. For restart, we overload
CREATE IF NOT EXISTS
to serve this purpose. However, this caused problem like there is no way to differentiate create or restart.What solution would you like?
Proposed solution is to provide dedicated commands as below (spec will be finalized later):
SHOW INDEX JOBS [ON tableName]
Description: Show Flint index info including properties. This is like an enhanced SHOW command with some DESC info for caller convenience.
RECOVER INDEX JOB flintJobName
Description: Restart index streaming job. It's caller responsibility to make sure previous streaming job already stopped (because it maybe in other SparkContext).
The text was updated successfully, but these errors were encountered: