1. 10 8月, 2019 2 次提交
    • L
      [pulsar-sql] Handle schema not found (#4890) · 2069f761
      lipenghui 提交于
      * Handle get schema 404 in pulsar sql(table meta and get splits)
      
      * Fix unit test.
      
      * add defaultSchema()
      
      * use Schema.BYTES.getSchemaInfo()
      
      * add unit test
      
      * rebase and fix unit tests
      2069f761
    • L
      [pulsar-sql] Make partition as internal column (#4888) · 5adc522e
      lipenghui 提交于
      Fixes #4785
      
      ### Motivation
      
      1. Stop return partition name in table list, just return the partitioned topic name in table list. This will avoid huge tables while user create large number of partition.
      2. Make partition as internal column, provide users with the ability to get which partition data in and filtration based on partition. For example: 
      ```
      SELECT * FROM "my-table" WHERE "__partition__" = 0;
      SELECT * FROM "my-table" WHERE "__partition__" in (2,3);
      SELECT * FROM "my-table" WHERE "__partition__" < 1;
      ```
      ### Modifications
      
      1. Add "__partition__" internal column.
      2. Add domain handle for "__partition__".
      
      ### Verifying this change
      
      Added new unit test to verify this change
      
      ### Does this pull request potentially affect one of the following parts:
      
      *If `yes` was chosen, please highlight the changes*
      
        - Dependencies (does it add or upgrade a dependency): (no)
        - The public API: (yes)
        - The schema: (no)
        - The default values of configurations: (no)
        - The wire protocol: ( no)
        - The rest endpoints: (no)
        - The admin cli options: (no)
        - Anything that affects deployment: (no)
      
      ### Documentation
      
        - Does this pull request introduce a new feature? (yes)
      5adc522e
  2. 24 7月, 2019 1 次提交
  3. 22 7月, 2019 1 次提交
    • L
      Add options to rewrite namespace delimiter for pulsar sql. (#4749) · 6ddd51ff
      lipenghui 提交于
      ### Motivation
      
      Fix #4732 
      
      ### Modifications
      
      Add options to rewrite the namespace delimiter, disable by default
      
      Enable rewrite namespace delimiter can work well with superset:
      <img width="1279" alt="superset" src="https://user-images.githubusercontent.com/12592133/61385412-f0f35700-a8e4-11e9-87b2-a31b62128b58.png">
      
      
      ### Does this pull request potentially affect one of the following parts:
      
      *If `yes` was chosen, please highlight the changes*
      
        - Dependencies (does it add or upgrade a dependency): (no)
        - The public API: (no)
        - The schema: (no)
        - The default values of configurations: (no)
        - The wire protocol: (no)
        - The rest endpoints: (no)
        - The admin cli options: (no)
        - Anything that affects deployment: (no)
      
      ### Documentation
      
        - Does this pull request introduce a new feature? (no)
      6ddd51ff
  4. 10 7月, 2019 1 次提交
  5. 09 7月, 2019 1 次提交
    • V
      Cleanup tests in the presto module (#4683) · c421ca6e
      vzhikserg 提交于
      * Add static import statements for Assert to simplify the test in the presto module
      
      * Use the preferred way of the schema's creation. The predicates and functions were converted to lambda
      c421ca6e
  6. 16 4月, 2019 1 次提交
  7. 17 12月, 2018 1 次提交
  8. 08 9月, 2018 1 次提交
  9. 07 8月, 2018 1 次提交