zettadb / kunlun

KunlunBase is a distributed relational database management system(RDBMS) with complete NewSQL capabilities and robust transaction ACID guarantees and is compatible with standard SQL. Applications which used PostgreSQL or MySQL can work with KunlunBase as-is without any code change or rebuild because KunlunBase supports both PostgreSQL and MySQL connection protocols and DML SQL grammars. MySQL DBAs can quickly work on a KunlunBase cluster because we use MySQL as storage nodes of KunlunBase. KunlunBase can elastically scale out as needed, and guarantees transaction ACID under error conditions, and KunlunBase fully passes TPC-C, TPC-H and TPC-DS test suites, so it not only support OLTP workloads but also OLAP workloads. Application developers can use KunlunBase to build IT systems that handles terabytes of data, without any effort on their part to implement data sharding, distributed transaction processing, distributed query processing, crash safety, high availability, strong consistency, horizontal scalability. All these powerful features are provided by KunlunBase. KunlunBase supports powerful and user friendly cluster management, monitor and provision features, can be readily used as DBaaS.
http://www.kunlunbase.com
Apache License 2.0
143 stars 20 forks source link

Incorrect datetime value 'infinity' #552

Closed jd-zhang closed 3 years ago

jd-zhang commented 3 years ago

Issue migrated from trac ticket # 233

component: computing nodes | priority: minor | resolution: postpone

2021-11-18 16:07:01: @vito4172 created the issue


sqlcode: drop table if exists TIMESTAMP_TBL; CREATE TABLE TIMESTAMP_TBL (d1 timestamp(2) without time zone);

INSERT INTO TIMESTAMP_TBL VALUES ('-infinity');

ERROR: Kunlun-db: MySQL storage node (2, 2) returned error: 1292, Incorrect datetime value: '-infinity' for column 'd1' at row 1.

expect: INSERT 0 1

jd-zhang commented 3 years ago

2021-11-26 14:56:41: @david-zhao commented


mysql has no constants +-infinity or its equivalents for any data type. we have to postpone it.

jd-zhang commented 3 years ago

2021-11-26 14:56:41: @david-zhao set resolution to postpone

jd-zhang commented 3 years ago

2021-11-26 14:56:41: @david-zhao changed status from new to closed

jd-zhang commented 3 years ago

2021-11-26 14:57:10: @david-zhao changed title from Incorrect datetime value to Incorrect datetime value 'infinity'