chunxiaozheng opened a new pull request, #14398:
URL: https://github.com/apache/pinot/pull/14398
Instructions:
1. The PR has to be tagged with at least one of the following labels (i):
1. `feature`
2. `bugfix`
3. `performance`
4. `ui`
5. `backward-incompat`
6. `release-notes` (**)
This PR add TIMESTAMP_NTZ, DATE and TIME datatype.
For flink, TIMESTAMP does not have time zone, which corresponds to
TIMESTAMP_NTZ in pinot, TIMESTAMP_LTZ has local time zone, which corresponds to
TIMESTAMP in pinot.
For spark, TIMESTAMP has local time zone, which corresponds to TIMESTAMP in
pinot, TIMESTAMP_NTZ does not have time zone, which corresponds to
TIMESTAMP_NTZ in pinot.
In my case, the schema of my table is as follows
<img width="257" alt="image"
src="https://github.com/user-attachments/assets/1749d56c-d8c9-4bfc-82e7-af6f27aa5bbb">
and the query result is as follows
<img width="1277" alt="image"
src="https://github.com/user-attachments/assets/b75b4555-7c2e-4953-8127-bfb9f20bb96b">
the schema json of TIME, DATE, TIMESTAMP_NTZ and TIMESTAMP is as follows
```
"dimensionFieldSpecs": [
{
"name": "time_field",
"dataType": "TIME"
},
{
"name": "date_field",
"dataType": "DATE"
},
{
"name": "timestamp_ntz_field",
"dataType": "TIMESTAMP_NTZ"
},
{
"name": "timestamp_ltz_field",
"dataType": "TIMESTAMP"
}
]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]