Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-797

Avatica remote service strips the date part from java.sql.Time

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      java.sql.Time is basically an UNIX timestamp with both date and time. The documentation says the date part should not be used, but Phoenix does use it. While it is possible to pass the full timestamp as a parameter value, the client will only get time part back.

      Given that using the date part is deprecated according to the documentation, I'm not sure if you want to support this.

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              lukaslalinsky Lukas Lalinsky
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: