partiql / partiql-lang

The PartiQL language specification
https://partiql.org/partiql-lang
Other
9 stars 1 forks source link

PartiQL spec example 47 (section 11.3) unspecified timestamp syntax #72

Open alancai98 opened 10 months ago

alancai98 commented 10 months ago

Copied from #33.

https://partiql.org/assets/PartiQL-Specification.pdf#subsection.11.3

In globals, the "timestamp" literal field value uses a syntax that has not yet been defined:

logs: [{’sensor’:1, ’co’:0.4, ’timestamp’:04:05:06},
       {’sensor’:1, ’co’:0.2, ’timestamp’:04:05:07},
       {’sensor’:1, ’co’:0.5, ’timestamp’:04:05:10},
       {’sensor’:2, ’co’:0.3}
]

The result also uses this undefined syntax for "timestamp":

<<{’sensor’:1, ’jumpReadings’:[{’co’:0.4, ’timestamp’:04:05:06}]},
  {’sensor’:2, ’jumpReadings’:[]}
>>