psukys commented on issue #1861: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1861#issuecomment-2934554910
Is TimestampNtz shared between Databricks and Snowflake?
Checking on slightly older version (sqloxide==0.1.54), the parsed result is:
```json
[
{
"CreateTable": {
"or_replace": false,
"temporary": false,
"external": false,
"global": null,
"if_not_exists": false,
"transient": false,
"volatile": false,
"name": [
{
"value": "hello",
"quote_style": null,
"span": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 19
}
}
}
],
"columns": [
{
"name": {
"value": "test",
"quote_style": null,
"span": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 24
}
}
},
"data_type": {
"Custom": [
[
{
"value": "timestamp_ntz",
"quote_style": null,
"span": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 38
}
}
}
],
[
"6"
]
]
},
"collation": null,
"options": []
}
],
"constraints": [],
"hive_distribution": "NONE",
"hive_formats": {
"row_format": null,
"serde_properties": null,
"storage": null,
"location": null
},
"table_properties": [],
"with_options": [],
"file_format": null,
"location": null,
"query": null,
"without_rowid": false,
"like": null,
"clone": null,
"engine": null,
"comment": null,
"auto_increment_offset": null,
"default_charset": null,
"collation": null,
"on_commit": null,
"on_cluster": null,
"primary_key": null,
"order_by": null,
"partition_by": null,
"cluster_by": null,
"clustered_by": null,
"options": null,
"strict": false,
"copy_grants": false,
"enable_schema_evolution": null,
"change_tracking": null,
"data_retention_time_in_days": null,
"max_data_extension_time_in_days": null,
"default_ddl_collation": null,
"with_aggregation_policy": null,
"with_row_access_policy": null,
"with_tags": null
}
}
]
```
--
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]
