You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Bingandbing (via GitHub)" <gi...@apache.org> on 2023/03/02 01:43:42 UTC
[GitHub] [doris] Bingandbing opened a new issue, #17312: [Bug] Case being sensitive when creating a time range table with datatype timestamp
Bingandbing opened a new issue, #17312:
URL: https://github.com/apache/doris/issues/17312
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
### Version
The version I used is: Apache Doris 1.2.2 Release
### What's Wrong?
User can not create a table with small letter of timestamp datatype.
### What You Expected?
User can create a table with small letter of timestamp datatype, this behavior is not case sensitive in mysql 8, and other Standard SQL syntax.
### How to Reproduce?
By simply create a table with datatype timestamp and in format of small letter like use 'year' or 'Year' but not 'YEAR'
create table `time_range_table`(
`id` varchar(128),
`g_id` varchar(128),
`time` datetimev2(3)
)
engine=olap
duplicate key(id, g_id, time)
partition by range(time)(
from ("2000-01-01") to ("2021-01-01") interval 1 year,
from ("2021-01-01") to ("2022-01-01") interval 1 month,
from ("2022-01-01") to ("2023-01-01") interval 1 week,
from ("2023-01-01") TO ("2023-02-01") interval 1 day
)
distributed by hash(id) buckets 1
properties(
"replication_num"=1,
"light_schema_change"="true",
"compression"="zstd",
"enable_unique_key_merge_on_write" = "true"
);
### Anything Else?
Other enumerate class with definition capital letter should also be check.
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: commits-unsubscribe@doris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] morrySnow closed issue #17312: [Bug] Case being sensitive when creating a time range table with datatype timestamp
Posted by "morrySnow (via GitHub)" <gi...@apache.org>.
morrySnow closed issue #17312: [Bug] Case being sensitive when creating a time range table with datatype timestamp
URL: https://github.com/apache/doris/issues/17312
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org