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

feat: support date_part function and more fields for extract #8830

Merged
merged 23 commits into from Apr 4, 2023

Commits on Mar 29, 2023

  1. support date_part function

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    96eebc6 View commit details
    Browse the repository at this point in the history
  2. support more units for extract

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    ce52a64 View commit details
    Browse the repository at this point in the history
  3. fix date_part. merge extract_date and extract_time

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    3db6b7b View commit details
    Browse the repository at this point in the history
  4. support julian

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    c7e435b View commit details
    Browse the repository at this point in the history
  5. recover extract from date/time

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    47b36a0 View commit details
    Browse the repository at this point in the history
  6. implement extract/date_part from interval

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    8264024 View commit details
    Browse the repository at this point in the history
  7. enable test for extract from interval

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    91d55e2 View commit details
    Browse the repository at this point in the history
  8. to lowercase

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    75ee82c View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. support extract epoch from interval

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    24dafe0 View commit details
    Browse the repository at this point in the history
  2. fix for negative interval

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    d609da0 View commit details
    Browse the repository at this point in the history
  3. fix decimal scale

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    494a137 View commit details
    Browse the repository at this point in the history
  4. fix test

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    f948c95 View commit details
    Browse the repository at this point in the history
  5. rename functions of interval

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    c101256 View commit details
    Browse the repository at this point in the history
  6. fix interval overflow

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    66e166f View commit details
    Browse the repository at this point in the history
  7. update regress test for interval

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    fd16c2c View commit details
    Browse the repository at this point in the history
  8. support extract epoch from time

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    74b3c5e View commit details
    Browse the repository at this point in the history
  9. fix extract quarter from interval

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    609cf85 View commit details
    Browse the repository at this point in the history
  10. add more doctests

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    7a95d76 View commit details
    Browse the repository at this point in the history
  11. fix clippy

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    8c5e66d View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. fix parse interval

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    bd1a21a View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. fix comments

    Signed-off-by: Runji Wang <wangrunji0408@163.com>
    wangrunji0408 committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    5244a1d View commit details
    Browse the repository at this point in the history
  2. Update src/common/src/types/interval.rs

    Co-authored-by: xiangjinwu <17769960+xiangjinwu@users.noreply.github.com>
    wangrunji0408 and xiangjinwu committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    431a423 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5139182 View commit details
    Browse the repository at this point in the history