Add Timestamp type to cassandra column types and wrap Timestamp value inside single quotes when creating queries (#1163)

This commit is contained in:
victor-meng
2021-11-19 09:55:10 -08:00
committed by GitHub
parent 1155557af1
commit 94a03e5b03
3 changed files with 5 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ const {
Inet,
Smallint,
Tinyint,
Timestamp,
} = TableConstants.CassandraType;
export const cassandraOptions = [
{ key: Text, text: Text },
@@ -50,6 +51,7 @@ export const cassandraOptions = [
{ key: Inet, text: Inet },
{ key: Smallint, text: Smallint },
{ key: Tinyint, text: Tinyint },
{ key: Timestamp, text: Timestamp },
];
export const imageProps: IImageProps = {