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

Implementation UTC_DATE/UTC_TIME/UTC_TIMESTAMP #127

Merged
merged 15 commits into from
Oct 17, 2022

Commits on Oct 12, 2022

  1. Added UTC_DATE, UTC_TIME, UTC_TIMESTAMP implementations.

    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    5107309 View commit details
    Browse the repository at this point in the history
  2. Added doc tests and fixed java doc description for UTC TIME/DATE/TIME…

    …STAMP
    
    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    cc2d186 View commit details
    Browse the repository at this point in the history
  3. Fixed some javadocs, and addressed other PR comments.

    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    cfbfdf2 View commit details
    Browse the repository at this point in the history
  4. Fixed duplicate UTC functions in parser. Moved tests over to likenow …

    …test suite.
    
    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    7efe2e2 View commit details
    Browse the repository at this point in the history
  5. Fixed UTC IT test issues with not using UTC time for functions.

    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    fbf30d5 View commit details
    Browse the repository at this point in the history
  6. Switched timestamp return type to be DATETIME not TIMESTAMP.

    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    02a1b40 View commit details
    Browse the repository at this point in the history
  7. ADDED IT TESTS TO SQL

    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    d9964c8 View commit details
    Browse the repository at this point in the history
  8. Update docs/user/ppl/functions/datetime.rst

    Co-authored-by: Yury-Fridlyand <[email protected]>
    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale and Yury-Fridlyand committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    9c3f3a3 View commit details
    Browse the repository at this point in the history
  9. Update docs/user/ppl/functions/datetime.rst

    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/dql/functions.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/ppl/functions/datetime.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/dql/functions.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/dql/functions.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/ppl/functions/datetime.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/ppl/functions/datetime.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/ppl/functions/datetime.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/dql/functions.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/dql/functions.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update core/src/test/java/org/opensearch/sql/expression/datetime/NowLikeFunctionTest.java
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/dql/functions.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/ppl/functions/datetime.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    
    Update docs/user/dql/functions.rst
    
    Co-authored-by: Yury-Fridlyand <[email protected]>
    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale and Yury-Fridlyand committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    1e85d3b View commit details
    Browse the repository at this point in the history
  10. Update core/src/test/java/org/opensearch/sql/expression/datetime/NowL…

    …ikeFunctionTest.java
    
    Co-authored-by: Max Ksyunz <[email protected]>
    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale and Max Ksyunz committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    648744c View commit details
    Browse the repository at this point in the history
  11. Update integ-test/src/test/java/org/opensearch/sql/ppl/DateTimeFuncti…

    …onIT.java
    
    Co-authored-by: Max Ksyunz <[email protected]>
    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale and Max Ksyunz committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    50fdcf3 View commit details
    Browse the repository at this point in the history
  12. Update core/src/main/java/org/opensearch/sql/expression/datetime/Date…

    …TimeFunction.java
    
    Co-authored-by: Max Ksyunz <[email protected]>
    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale and Max Ksyunz committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    2a23bf8 View commit details
    Browse the repository at this point in the history
  13. resolved conflict.

    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    d574625 View commit details
    Browse the repository at this point in the history
  14. Removed formatter

    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    4f321a1 View commit details
    Browse the repository at this point in the history
  15. Made PR requested changes

    Signed-off-by: MitchellGale-BitQuill <[email protected]>
    MitchellGale committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    90f4358 View commit details
    Browse the repository at this point in the history