Add support for date type to cassandra column types (#1176)

This commit is contained in:
victor-meng
2021-12-16 14:51:18 -08:00
committed by GitHub
parent de58f570cd
commit 529202ba7e
4 changed files with 46 additions and 39 deletions

View File

@@ -14,6 +14,7 @@ export const CassandraType = {
Bigint: "Bigint",
Blob: "Blob",
Boolean: "Boolean",
Date: "Date",
Decimal: "Decimal",
Double: "Double",
Float: "Float",

View File

@@ -536,7 +536,8 @@ export class CassandraAPIDataClient extends TableDataClient {
dataType === TableConstants.CassandraType.Inet ||
dataType === TableConstants.CassandraType.Ascii ||
dataType === TableConstants.CassandraType.Varchar ||
dataType === TableConstants.CassandraType.Timestamp
dataType === TableConstants.CassandraType.Timestamp ||
dataType === TableConstants.CassandraType.Date
);
}