[KYUUBI #1926] Remove useless constants in Constants
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1927 from yanghua/KYUUBI-1926. Closes #1926 3e82abb4 [yanghua] [KYUUBI #1926] Remove useless constants in Constants Authored-by: yanghua <yanghua1127@gmail.com> Signed-off-by: ulysses-you <ulyssesyou@apache.org>
This commit is contained in:
parent
9f3c5c7d92
commit
6403224199
@ -21,39 +21,8 @@ package org.apache.kyuubi.engine.flink.result;
|
||||
/** Constant column names. */
|
||||
public class Constants {
|
||||
|
||||
// for statement execution
|
||||
public static final String JOB_ID = "job_id";
|
||||
|
||||
// for results with SUCCESS result kind
|
||||
public static final String RESULT = "result";
|
||||
public static final String OK = "OK";
|
||||
|
||||
public static final String SHOW_MODULES_RESULT = "modules";
|
||||
|
||||
public static final String SHOW_CURRENT_CATALOG_RESULT = "catalog";
|
||||
|
||||
public static final String SHOW_CURRENT_DATABASE_RESULT = "database";
|
||||
|
||||
public static final String SHOW_DATABASES_RESULT = "databases";
|
||||
|
||||
public static final String SHOW_FUNCTIONS_RESULT = "functions";
|
||||
|
||||
public static final String EXPLAIN_RESULT = "explanation";
|
||||
|
||||
public static final String DESCRIBE_NAME = "name";
|
||||
public static final String DESCRIBE_TYPE = "type";
|
||||
public static final String DESCRIBE_NULL = "null";
|
||||
public static final String DESCRIBE_KEY = "key";
|
||||
public static final String DESCRIBE_COMPUTED_COLUMN = "computed_column";
|
||||
public static final String DESCRIBE_WATERMARK = "watermark";
|
||||
|
||||
public static final String SHOW_TABLES_RESULT = "tables";
|
||||
|
||||
public static final String SHOW_VIEWS_RESULT = "views";
|
||||
|
||||
public static final String SET_KEY = "key";
|
||||
public static final String SET_VALUE = "value";
|
||||
|
||||
public static final String TABLE_TYPE = "TABLE";
|
||||
public static final String VIEW_TYPE = "VIEW";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user