Skip to content
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

Looker Model metadata #37

Closed
wants to merge 22 commits into from

Commits on Jun 21, 2023

  1. Looker instructions

    julianhyde authored and wnob committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    0ac1f34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6be3292 View commit details
    Browse the repository at this point in the history
  3. [CALCITE-5052] Allow Source based on a URL with jar: protocol

    This allows dependent projects to run tests using Bazel. (Previously,
    DiffRepository would give errors because Bazel has packaged the .xml
    files it needs inside JAR files.)
    
    Close apache#2750
    mkou authored and wnob committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    fb35910 View commit details
    Browse the repository at this point in the history
  4. [CALCITE-5621] Support UDT declarations from root of schema model. (a…

    …pache#7)
    
    Related to CALCITE-5346.
    
    Previously we relied on the parser to map unrecognized datatypes to a known type using SqlAlienSystemTypeNameSpec. This worked but made it difficult to change or add new types as necessary. One would have to update at least 3 different parsers (babel, core, server) to make a change.
    
    This change allows for declaring user-defined types at the root of a schema model and allows for easy type alias mapping. These data types are shared by all schema in the model so cast and DDL expressions do not need to scope data type references to a particular sub-schema.
    
    For example:
    ```
    inline: {
      version: '1.0',
      types: [
        {
          name: 'BOOL',
          type: 'BOOLEAN'
        },
        {
          name: 'BYTES',
          type: 'VARBINARY'
        },
    ...
      ],
    ```
    Allows for `CAST("true" as BOOL)`
    tjbanghart authored and wnob committed Jun 21, 2023
    1 Configuration menu
    Copy the full SHA
    e6b3c27 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3099eef View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    23eccc5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8f4dfce View commit details
    Browse the repository at this point in the history
  8. [CALCITE-5607] WIP: Serialize return type during RelJson.toJson(RexNo…

    …de node) (apache#28)
    
    * Add tests to fix later
    
    * Update test
    
    * Add in type field to RelJson.toJson and update tests
    
    * CALCITE-5607 / Serialize return type during RelJson.toJson(RexNode node)
    
    * Update test comment
    
    ---------
    
    Co-authored-by: Oliver Lee <oliverlee@google.com>
    2 people authored and wnob committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    c669419 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2a3dfa0 View commit details
    Browse the repository at this point in the history
  10. [CALCITE-5449] Allow EXTRACT() to accept DAYOFWEEK, DAYOFYEAR, ISOWEE…

    …K, WEEK(WEEKDAY) (apache#32)
    
    * [CALCITE-5449] Allow EXTRACT() to accept time frames
    
    * Fix getMonotonicity() override
    
    * Lint
    
    * Refactor DAYOFWEEK, DAYOFYEAR
    
    ---------
    
    Co-authored-by: tanclary <116591231+tanclary@users.noreply.github.com>
    Co-authored-by: Tanner Clary <tannerclary@google.com>
    3 people authored and wnob committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    c720ac7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e39b61e View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. Configuration menu
    Copy the full SHA
    829bd13 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Fix for sorting by literals

    wnob committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    91ccb01 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76e7663 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    cefef06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9492bf6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbb02c6 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2023

  1. Allow CalciteMetaImpl to take in a CalciteMetaTable subclass to use w…

    …hen instantiating tables in the CalciteMetaImpl tables() call
    olivrlee committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    513f3da View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Cleanup and add tests

    olivrlee committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    160ec64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cc35ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d471f3 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    86f8917 View commit details
    Browse the repository at this point in the history