Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11197

SQL:Ability to resolve arguments for temporal data types.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • sql
    • None
    • Docs Required

    Description

      Within org.apache.ignite.internal.sql.optimizer.affinity.PartitionUtils#convert it's now possible to convert following data types:

      • BOOLEAN,
      • BYTE,
      • SHORT,
      • INT,
      • LONG,
      • FLOAT,
      • DOUBLE,
      • STRING,
      • DECIMAL,
      • UUID;

      Following temporal data types should also be supported:

      • DATE,
      • TIME,
      • TIMESTAMP
        The most critical part here is that convertation result should be exactly the same as within H2 convertation result (see org.apache.ignite.internal.processors.query.h2.H2Utils#convert), in other case partitions might be resolved incorrectly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alapin Alexander Lapin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: