Details

    • Sub-task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Implement BigQuery EXTRACT() Function. EXTRACT(part FROM date_expression) returns the value from the date_expression corresponding to the specified part. Calcite currently supports PostgreSQL' DATE_PART which has similar behavior.

      Example: SELECT EXTRACT(DAY FROM DATE '2013-12-25') would return 25.

      BigQuery Docs

      Attachments

        Issue Links

          Activity

            People

              tanclary Tanner Clary
              tanclary Tanner Clary
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m