@lightdash/warehouses 2.228.0 → 2.229.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo.build +1 -0
- package/package.json +4 -4
- package/dist/.tsbuildinfo +0 -1
- package/dist/ssh/sshTunnelFailure.test.d.ts +0 -2
- package/dist/ssh/sshTunnelFailure.test.d.ts.map +0 -1
- package/dist/ssh/sshTunnelFailure.test.js +0 -90
- package/dist/validateWarehouseColumnReferences.test.d.ts +0 -2
- package/dist/validateWarehouseColumnReferences.test.d.ts.map +0 -1
- package/dist/validateWarehouseColumnReferences.test.js +0 -168
- package/dist/warehouseClients/AthenaWarehouseClient.test.d.ts +0 -2
- package/dist/warehouseClients/AthenaWarehouseClient.test.d.ts.map +0 -1
- package/dist/warehouseClients/AthenaWarehouseClient.test.js +0 -261
- package/dist/warehouseClients/BigqueryWarehouseClient.mock.d.ts +0 -83
- package/dist/warehouseClients/BigqueryWarehouseClient.mock.d.ts.map +0 -1
- package/dist/warehouseClients/BigqueryWarehouseClient.mock.js +0 -130
- package/dist/warehouseClients/BigqueryWarehouseClient.test.d.ts +0 -2
- package/dist/warehouseClients/BigqueryWarehouseClient.test.d.ts.map +0 -1
- package/dist/warehouseClients/BigqueryWarehouseClient.test.js +0 -493
- package/dist/warehouseClients/ClickhouseWarehouseClient.test.d.ts +0 -2
- package/dist/warehouseClients/ClickhouseWarehouseClient.test.d.ts.map +0 -1
- package/dist/warehouseClients/ClickhouseWarehouseClient.test.js +0 -115
- package/dist/warehouseClients/DatabricksWarehouseClient.mock.d.ts +0 -17
- package/dist/warehouseClients/DatabricksWarehouseClient.mock.d.ts.map +0 -1
- package/dist/warehouseClients/DatabricksWarehouseClient.mock.js +0 -111
- package/dist/warehouseClients/DatabricksWarehouseClient.test.d.ts +0 -2
- package/dist/warehouseClients/DatabricksWarehouseClient.test.d.ts.map +0 -1
- package/dist/warehouseClients/DatabricksWarehouseClient.test.js +0 -592
- package/dist/warehouseClients/DatabricksWarehouseStartupRetry.test.d.ts +0 -2
- package/dist/warehouseClients/DatabricksWarehouseStartupRetry.test.d.ts.map +0 -1
- package/dist/warehouseClients/DatabricksWarehouseStartupRetry.test.js +0 -129
- package/dist/warehouseClients/DuckdbWarehouseClient.embedded.test.d.ts +0 -2
- package/dist/warehouseClients/DuckdbWarehouseClient.embedded.test.d.ts.map +0 -1
- package/dist/warehouseClients/DuckdbWarehouseClient.embedded.test.js +0 -92
- package/dist/warehouseClients/DuckdbWarehouseClient.test.d.ts +0 -2
- package/dist/warehouseClients/DuckdbWarehouseClient.test.d.ts.map +0 -1
- package/dist/warehouseClients/DuckdbWarehouseClient.test.js +0 -1749
- package/dist/warehouseClients/MotherduckErrorClassifier.test.d.ts +0 -2
- package/dist/warehouseClients/MotherduckErrorClassifier.test.d.ts.map +0 -1
- package/dist/warehouseClients/MotherduckErrorClassifier.test.js +0 -31
- package/dist/warehouseClients/MotherduckInstanceCache.catalog.test.d.ts +0 -2
- package/dist/warehouseClients/MotherduckInstanceCache.catalog.test.d.ts.map +0 -1
- package/dist/warehouseClients/MotherduckInstanceCache.catalog.test.js +0 -52
- package/dist/warehouseClients/MotherduckInstanceCache.integration.test.d.ts +0 -2
- package/dist/warehouseClients/MotherduckInstanceCache.integration.test.d.ts.map +0 -1
- package/dist/warehouseClients/MotherduckInstanceCache.integration.test.js +0 -172
- package/dist/warehouseClients/MotherduckInstanceCache.security.test.d.ts +0 -2
- package/dist/warehouseClients/MotherduckInstanceCache.security.test.d.ts.map +0 -1
- package/dist/warehouseClients/MotherduckInstanceCache.security.test.js +0 -192
- package/dist/warehouseClients/MotherduckInstanceCache.test.d.ts +0 -2
- package/dist/warehouseClients/MotherduckInstanceCache.test.d.ts.map +0 -1
- package/dist/warehouseClients/MotherduckInstanceCache.test.js +0 -302
- package/dist/warehouseClients/PostgresWarehouseClient.mock.d.ts +0 -8
- package/dist/warehouseClients/PostgresWarehouseClient.mock.d.ts.map +0 -1
- package/dist/warehouseClients/PostgresWarehouseClient.mock.js +0 -66
- package/dist/warehouseClients/PostgresWarehouseClient.test.d.ts +0 -2
- package/dist/warehouseClients/PostgresWarehouseClient.test.d.ts.map +0 -1
- package/dist/warehouseClients/PostgresWarehouseClient.test.js +0 -371
- package/dist/warehouseClients/RedshiftWarehouseClient.test.d.ts +0 -2
- package/dist/warehouseClients/RedshiftWarehouseClient.test.d.ts.map +0 -1
- package/dist/warehouseClients/RedshiftWarehouseClient.test.js +0 -126
- package/dist/warehouseClients/SnowflakeWarehouseClient.mock.d.ts +0 -41
- package/dist/warehouseClients/SnowflakeWarehouseClient.mock.d.ts.map +0 -1
- package/dist/warehouseClients/SnowflakeWarehouseClient.mock.js +0 -184
- package/dist/warehouseClients/SnowflakeWarehouseClient.test.d.ts +0 -2
- package/dist/warehouseClients/SnowflakeWarehouseClient.test.d.ts.map +0 -1
- package/dist/warehouseClients/SnowflakeWarehouseClient.test.js +0 -777
- package/dist/warehouseClients/TrinoWarehouseClient.mock.d.ts +0 -23
- package/dist/warehouseClients/TrinoWarehouseClient.mock.d.ts.map +0 -1
- package/dist/warehouseClients/TrinoWarehouseClient.mock.js +0 -102
- package/dist/warehouseClients/TrinoWarehouseClient.test.d.ts +0 -2
- package/dist/warehouseClients/TrinoWarehouseClient.test.d.ts.map +0 -1
- package/dist/warehouseClients/TrinoWarehouseClient.test.js +0 -230
- package/dist/warehouseClients/WarehouseClient.mock.d.ts +0 -13
- package/dist/warehouseClients/WarehouseClient.mock.d.ts.map +0 -1
- package/dist/warehouseClients/WarehouseClient.mock.js +0 -51
- package/dist/warehouseClients/numericKinds.test.d.ts +0 -2
- package/dist/warehouseClients/numericKinds.test.d.ts.map +0 -1
- package/dist/warehouseClients/numericKinds.test.js +0 -168
- package/dist/warehouseClients/pgProtocolGuard.integration.test.d.ts +0 -2
- package/dist/warehouseClients/pgProtocolGuard.integration.test.d.ts.map +0 -1
- package/dist/warehouseClients/pgProtocolGuard.integration.test.js +0 -93
- package/dist/warehouseClients/pgProtocolGuard.test.d.ts +0 -2
- package/dist/warehouseClients/pgProtocolGuard.test.d.ts.map +0 -1
- package/dist/warehouseClients/pgProtocolGuard.test.js +0 -48
- package/dist/warehouseClients/redshiftIamCredentials.test.d.ts +0 -2
- package/dist/warehouseClients/redshiftIamCredentials.test.d.ts.map +0 -1
- package/dist/warehouseClients/redshiftIamCredentials.test.js +0 -210
- package/dist/warehouseClients/timestampDomain.test.d.ts +0 -2
- package/dist/warehouseClients/timestampDomain.test.d.ts.map +0 -1
- package/dist/warehouseClients/timestampDomain.test.js +0 -101
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const common_1 = require("@lightdash/common");
|
|
4
|
-
const ClickhouseWarehouseClient_1 = require("./ClickhouseWarehouseClient");
|
|
5
|
-
describe('getMaxOpenConnections', () => {
|
|
6
|
-
it('defaults to 10 when concurrency is unknown', () => {
|
|
7
|
-
expect((0, ClickhouseWarehouseClient_1.getMaxOpenConnections)()).toBe(10);
|
|
8
|
-
expect((0, ClickhouseWarehouseClient_1.getMaxOpenConnections)(NaN)).toBe(10);
|
|
9
|
-
});
|
|
10
|
-
it('matches the given concurrency when larger than the default', () => {
|
|
11
|
-
expect((0, ClickhouseWarehouseClient_1.getMaxOpenConnections)(100)).toBe(100);
|
|
12
|
-
});
|
|
13
|
-
it('never shrinks below the default', () => {
|
|
14
|
-
expect((0, ClickhouseWarehouseClient_1.getMaxOpenConnections)(1)).toBe(10);
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
describe('ClickhouseSqlBuilder', () => {
|
|
18
|
-
const builder = new ClickhouseWarehouseClient_1.ClickhouseSqlBuilder();
|
|
19
|
-
it('builds arrays with [...] syntax, not ARRAY[...] which ClickHouse rejects', () => {
|
|
20
|
-
expect(builder.buildArray(['1', '2', '3'])).toBe('[1, 2, 3]');
|
|
21
|
-
});
|
|
22
|
-
it('uses the native <=> operator for null-safe join keys', () => {
|
|
23
|
-
expect(builder.getNullSafeEqualJoinSql('a."x"', 'b."x"')).toBe('a."x" <=> b."x"');
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
describe('convertDataTypeToDimensionType', () => {
|
|
27
|
-
// Plain types (no wrappers)
|
|
28
|
-
it.each([
|
|
29
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.BOOL, common_1.DimensionType.BOOLEAN],
|
|
30
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.UINT8, common_1.DimensionType.NUMBER],
|
|
31
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.UINT16, common_1.DimensionType.NUMBER],
|
|
32
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.UINT32, common_1.DimensionType.NUMBER],
|
|
33
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.UINT64, common_1.DimensionType.NUMBER],
|
|
34
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.INT8, common_1.DimensionType.NUMBER],
|
|
35
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.INT16, common_1.DimensionType.NUMBER],
|
|
36
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.INT32, common_1.DimensionType.NUMBER],
|
|
37
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.INT64, common_1.DimensionType.NUMBER],
|
|
38
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.FLOAT32, common_1.DimensionType.NUMBER],
|
|
39
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.FLOAT64, common_1.DimensionType.NUMBER],
|
|
40
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.DECIMAL, common_1.DimensionType.NUMBER],
|
|
41
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.DECIMAL32, common_1.DimensionType.NUMBER],
|
|
42
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.DECIMAL64, common_1.DimensionType.NUMBER],
|
|
43
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.DECIMAL128, common_1.DimensionType.NUMBER],
|
|
44
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.DECIMAL256, common_1.DimensionType.NUMBER],
|
|
45
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.DATE, common_1.DimensionType.DATE],
|
|
46
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.DATE32, common_1.DimensionType.DATE],
|
|
47
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.DATETIME, common_1.DimensionType.TIMESTAMP],
|
|
48
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.DATETIME64, common_1.DimensionType.TIMESTAMP],
|
|
49
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.STRING, common_1.DimensionType.STRING],
|
|
50
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.FIXEDSTRING, common_1.DimensionType.STRING],
|
|
51
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.UUID, common_1.DimensionType.STRING],
|
|
52
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.IPV4, common_1.DimensionType.STRING],
|
|
53
|
-
[ClickhouseWarehouseClient_1.ClickhouseTypes.IPV6, common_1.DimensionType.STRING],
|
|
54
|
-
])('maps plain type %s to %s', (input, expected) => {
|
|
55
|
-
expect((0, ClickhouseWarehouseClient_1.convertDataTypeToDimensionType)(input)).toBe(expected);
|
|
56
|
-
});
|
|
57
|
-
// Nullable wrapper
|
|
58
|
-
it.each([
|
|
59
|
-
['Nullable(Int32)', common_1.DimensionType.NUMBER],
|
|
60
|
-
['Nullable(Float64)', common_1.DimensionType.NUMBER],
|
|
61
|
-
['Nullable(Date)', common_1.DimensionType.DATE],
|
|
62
|
-
['Nullable(DateTime)', common_1.DimensionType.TIMESTAMP],
|
|
63
|
-
['Nullable(String)', common_1.DimensionType.STRING],
|
|
64
|
-
['Nullable(Bool)', common_1.DimensionType.BOOLEAN],
|
|
65
|
-
])('unwraps Nullable: %s -> %s', (input, expected) => {
|
|
66
|
-
expect((0, ClickhouseWarehouseClient_1.convertDataTypeToDimensionType)(input)).toBe(expected);
|
|
67
|
-
});
|
|
68
|
-
// LowCardinality wrapper
|
|
69
|
-
it.each([
|
|
70
|
-
['LowCardinality(String)', common_1.DimensionType.STRING],
|
|
71
|
-
['LowCardinality(Int32)', common_1.DimensionType.NUMBER],
|
|
72
|
-
['LowCardinality(Date)', common_1.DimensionType.DATE],
|
|
73
|
-
['LowCardinality(DateTime)', common_1.DimensionType.TIMESTAMP],
|
|
74
|
-
])('unwraps LowCardinality: %s -> %s', (input, expected) => {
|
|
75
|
-
expect((0, ClickhouseWarehouseClient_1.convertDataTypeToDimensionType)(input)).toBe(expected);
|
|
76
|
-
});
|
|
77
|
-
// Nested wrappers (the main bug fix)
|
|
78
|
-
it.each([
|
|
79
|
-
['LowCardinality(Nullable(Int32))', common_1.DimensionType.NUMBER],
|
|
80
|
-
['LowCardinality(Nullable(Float64))', common_1.DimensionType.NUMBER],
|
|
81
|
-
['LowCardinality(Nullable(Date))', common_1.DimensionType.DATE],
|
|
82
|
-
['LowCardinality(Nullable(DateTime))', common_1.DimensionType.TIMESTAMP],
|
|
83
|
-
['LowCardinality(Nullable(String))', common_1.DimensionType.STRING],
|
|
84
|
-
['Nullable(LowCardinality(Int32))', common_1.DimensionType.NUMBER],
|
|
85
|
-
])('unwraps nested wrappers: %s -> %s', (input, expected) => {
|
|
86
|
-
expect((0, ClickhouseWarehouseClient_1.convertDataTypeToDimensionType)(input)).toBe(expected);
|
|
87
|
-
});
|
|
88
|
-
// Multi-argument precision types (the second bug fix)
|
|
89
|
-
it.each([
|
|
90
|
-
['Decimal(18, 2)', common_1.DimensionType.NUMBER],
|
|
91
|
-
['Decimal(10, 4)', common_1.DimensionType.NUMBER],
|
|
92
|
-
['Decimal32(9)', common_1.DimensionType.NUMBER],
|
|
93
|
-
['Decimal64(18)', common_1.DimensionType.NUMBER],
|
|
94
|
-
['Decimal128(38)', common_1.DimensionType.NUMBER],
|
|
95
|
-
['Decimal256(76)', common_1.DimensionType.NUMBER],
|
|
96
|
-
["DateTime64(3, 'UTC')", common_1.DimensionType.TIMESTAMP],
|
|
97
|
-
["DateTime64(6, 'Europe/London')", common_1.DimensionType.TIMESTAMP],
|
|
98
|
-
['DateTime64(3)', common_1.DimensionType.TIMESTAMP],
|
|
99
|
-
['FixedString(16)', common_1.DimensionType.STRING],
|
|
100
|
-
])('strips precision/scale arguments: %s -> %s', (input, expected) => {
|
|
101
|
-
expect((0, ClickhouseWarehouseClient_1.convertDataTypeToDimensionType)(input)).toBe(expected);
|
|
102
|
-
});
|
|
103
|
-
// Combined: nested wrappers + precision arguments
|
|
104
|
-
it.each([
|
|
105
|
-
['Nullable(Decimal(18, 2))', common_1.DimensionType.NUMBER],
|
|
106
|
-
["Nullable(DateTime64(3, 'UTC'))", common_1.DimensionType.TIMESTAMP],
|
|
107
|
-
['LowCardinality(Nullable(FixedString(16)))', common_1.DimensionType.STRING],
|
|
108
|
-
])('handles wrappers + precision combined: %s -> %s', (input, expected) => {
|
|
109
|
-
expect((0, ClickhouseWarehouseClient_1.convertDataTypeToDimensionType)(input)).toBe(expected);
|
|
110
|
-
});
|
|
111
|
-
// Unknown types fall through to STRING
|
|
112
|
-
it('returns STRING for unknown types', () => {
|
|
113
|
-
expect((0, ClickhouseWarehouseClient_1.convertDataTypeToDimensionType)('SomeFutureType')).toBe(common_1.DimensionType.STRING);
|
|
114
|
-
});
|
|
115
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TTypeId as DatabricksDataTypes } from '@databricks/sql/thrift/TCLIService_types';
|
|
2
|
-
import { AnyType, CreateDatabricksCredentials } from '@lightdash/common';
|
|
3
|
-
export declare const credentials: CreateDatabricksCredentials;
|
|
4
|
-
export declare const schema: {
|
|
5
|
-
columns: {
|
|
6
|
-
columnName: string;
|
|
7
|
-
typeDesc: {
|
|
8
|
-
types: {
|
|
9
|
-
primitiveEntry: {
|
|
10
|
-
type: DatabricksDataTypes;
|
|
11
|
-
};
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
}[];
|
|
15
|
-
};
|
|
16
|
-
export declare const rows: Record<string, AnyType>[];
|
|
17
|
-
//# sourceMappingURL=DatabricksWarehouseClient.mock.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DatabricksWarehouseClient.mock.d.ts","sourceRoot":"","sources":["../../src/warehouseClients/DatabricksWarehouseClient.mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EACH,OAAO,EACP,2BAA2B,EAE9B,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,WAAW,EAAE,2BAMzB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;CAuFlB,CAAC;AACF,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAUzC,CAAC"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.rows = exports.schema = exports.credentials = void 0;
|
|
4
|
-
const TCLIService_types_1 = require("@databricks/sql/thrift/TCLIService_types");
|
|
5
|
-
const common_1 = require("@lightdash/common");
|
|
6
|
-
exports.credentials = {
|
|
7
|
-
type: common_1.WarehouseTypes.DATABRICKS,
|
|
8
|
-
database: 'database',
|
|
9
|
-
serverHostName: 'serverHostName',
|
|
10
|
-
httpPath: 'httpPath',
|
|
11
|
-
personalAccessToken: 'personalAccessToken',
|
|
12
|
-
};
|
|
13
|
-
exports.schema = {
|
|
14
|
-
columns: [
|
|
15
|
-
{
|
|
16
|
-
columnName: 'myStringColumn',
|
|
17
|
-
typeDesc: {
|
|
18
|
-
types: [
|
|
19
|
-
{
|
|
20
|
-
primitiveEntry: {
|
|
21
|
-
type: TCLIService_types_1.TTypeId.STRING_TYPE,
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
columnName: 'myNumberColumn',
|
|
29
|
-
typeDesc: {
|
|
30
|
-
types: [
|
|
31
|
-
{
|
|
32
|
-
primitiveEntry: {
|
|
33
|
-
type: TCLIService_types_1.TTypeId.INT_TYPE,
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
columnName: 'myDateColumn',
|
|
41
|
-
typeDesc: {
|
|
42
|
-
types: [
|
|
43
|
-
{
|
|
44
|
-
primitiveEntry: {
|
|
45
|
-
type: TCLIService_types_1.TTypeId.DATE_TYPE,
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
columnName: 'myTimestampColumn',
|
|
53
|
-
typeDesc: {
|
|
54
|
-
types: [
|
|
55
|
-
{
|
|
56
|
-
primitiveEntry: {
|
|
57
|
-
type: TCLIService_types_1.TTypeId.TIMESTAMP_TYPE,
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
columnName: 'myBooleanColumn',
|
|
65
|
-
typeDesc: {
|
|
66
|
-
types: [
|
|
67
|
-
{
|
|
68
|
-
primitiveEntry: {
|
|
69
|
-
type: TCLIService_types_1.TTypeId.BOOLEAN_TYPE,
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
columnName: 'myArrayColumn',
|
|
77
|
-
typeDesc: {
|
|
78
|
-
types: [
|
|
79
|
-
{
|
|
80
|
-
primitiveEntry: {
|
|
81
|
-
type: TCLIService_types_1.TTypeId.ARRAY_TYPE,
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
columnName: 'myObjectColumn',
|
|
89
|
-
typeDesc: {
|
|
90
|
-
types: [
|
|
91
|
-
{
|
|
92
|
-
primitiveEntry: {
|
|
93
|
-
type: TCLIService_types_1.TTypeId.STRUCT_TYPE,
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
},
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
};
|
|
101
|
-
exports.rows = [
|
|
102
|
-
{
|
|
103
|
-
myStringColumn: 'string value',
|
|
104
|
-
myNumberColumn: 100,
|
|
105
|
-
myDateColumn: new Date('2021-03-10'),
|
|
106
|
-
myTimestampColumn: new Date('1990-03-02T08:30:00.010Z'),
|
|
107
|
-
myBooleanColumn: false,
|
|
108
|
-
myArrayColumn: ['1', '2', '3'],
|
|
109
|
-
myObjectColumn: { test: '1' },
|
|
110
|
-
},
|
|
111
|
-
];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DatabricksWarehouseClient.test.d.ts","sourceRoot":"","sources":["../../src/warehouseClients/DatabricksWarehouseClient.test.ts"],"names":[],"mappings":""}
|