File tree Expand file tree Collapse file tree 3 files changed +223
-42
lines changed
cubejs-query-orchestrator/src/orchestrator Expand file tree Collapse file tree 3 files changed +223
-42
lines changed Original file line number Diff line number Diff line change 3131 "sqlstring" : " ^2.3.0"
3232 },
3333 "optionalDependencies" : {
34- "@cubejs-backend/jdbc" : " ^0.7.6-1 " ,
35- "java" : " ^0.12.1 "
34+ "@cubejs-backend/jdbc" : " ^0.8.0 " ,
35+ "java" : " ^0.14.0 "
3636 },
3737 "license" : " Apache-2.0" ,
3838 "eslintConfig" : {
Original file line number Diff line number Diff line change @@ -1868,12 +1868,15 @@ export class PreAggregationPartitionRangeLoader {
18681868 if ( ! range ) {
18691869 return ;
18701870 }
1871+
18711872 if ( range . length !== 2 ) {
18721873 throw new Error ( `Date range expected to be an array with 2 elements but ${ range } found` ) ;
18731874 }
1875+
18741876 if ( typeof range [ 0 ] !== 'string' || typeof range [ 1 ] !== 'string' ) {
18751877 throw new Error ( `Date range expected to be a string array but ${ range } found` ) ;
18761878 }
1879+
18771880 if ( range [ 0 ] . length !== 23 || range [ 1 ] . length !== 23 ) {
18781881 throw new Error ( `Date range expected to be in YYYY-MM-DDTHH:mm:ss.SSS format but ${ range } found` ) ;
18791882 }
You can’t perform that action at this time.
0 commit comments