mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
MongoDBDictionarySource: fixed incompatibility with MongoDB 3.4.0 [#METRIQA-599].
This commit is contained in:
parent
02af261c07
commit
87695c02da
@ -188,7 +188,7 @@ def generate_data(args):
|
||||
'--query',
|
||||
"select * from test.dictionary_source where not ignore(" \
|
||||
"concat('new Date(\\'', toString(Date_), '\\')') as Date_, " \
|
||||
"concat('new Date(\\'', toString(DateTime_), '\\')') as DateTime_" \
|
||||
"concat('new ISODate(\\'', replaceOne(toString(DateTime_, 'UTC'), ' ', 'T'), 'Z\\')') as DateTime_" \
|
||||
") format JSON"
|
||||
]))['data']
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
1970-01-01 06:51:14
|
||||
1970-01-01 09:50:24
|
||||
1970-01-01 03:52:21
|
||||
1970-01-01 03:21:14
|
||||
1970-01-02 06:51:14
|
||||
1970-01-02 09:50:24
|
||||
1970-01-02 03:52:21
|
||||
1970-01-02 03:21:14
|
||||
2015-11-25 00:00:00
|
||||
2015-11-25 00:00:00
|
||||
2015-11-25 00:00:00
|
||||
|
@ -1,7 +1,7 @@
|
||||
1970-01-01 06:51:14
|
||||
1970-01-01 09:50:24
|
||||
1970-01-01 03:52:21
|
||||
1970-01-01 03:21:14
|
||||
1970-01-02 06:51:14
|
||||
1970-01-02 09:50:24
|
||||
1970-01-02 03:52:21
|
||||
1970-01-02 03:21:14
|
||||
2015-01-01 00:00:00
|
||||
2015-01-01 00:00:00
|
||||
2015-01-01 00:00:00
|
||||
|
@ -1,4 +1,4 @@
|
||||
0 0 0 0 50 13874 980694578 980694579 50 13874 980694578 980694579 0 0 4761183170873013810 2007-12-27 1970-01-01 06:51:14 0
|
||||
1 1 1 1 48 57392 4083802160 4083802161 48 -8144 -211165136 -211165135 1.5 1.5 10577349846663553072 2037-06-02 1970-01-01 09:50:24 0
|
||||
2 2 2 2 69 35909 1447922757 1447922758 69 -29627 1447922757 1447922758 3 3 18198135717204167749 1978-08-08 1970-01-01 03:52:21 1
|
||||
3 3 3 3 250 1274 1029309690 1029309691 -6 1274 1029309690 1029309691 4.5 4.5 9624464864560415994 1973-06-28 1970-01-01 03:21:14 2
|
||||
0 0 0 0 50 13874 980694578 980694579 50 13874 980694578 980694579 0 0 4761183170873013810 2007-12-27 1970-01-02 06:51:14 0
|
||||
1 1 1 1 48 57392 4083802160 4083802161 48 -8144 -211165136 -211165135 1.5 1.5 10577349846663553072 2037-06-02 1970-01-02 09:50:24 0
|
||||
2 2 2 2 69 35909 1447922757 1447922758 69 -29627 1447922757 1447922758 3 3 18198135717204167749 1978-08-08 1970-01-02 03:52:21 1
|
||||
3 3 3 3 250 1274 1029309690 1029309691 -6 1274 1029309690 1029309691 4.5 4.5 9624464864560415994 1973-06-28 1970-01-02 03:21:14 2
|
||||
|
|
Loading…
Reference in New Issue
Block a user