File tree Expand file tree Collapse file tree
core/src/main/java/com/dtstack/flink/sql/exec
main/java/com/dtstack/flink/sql/localTest
test/java/com/dtstack/flink/sql/localTest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515bin /nohup.out
1616.DS_Store
1717bin /sideSql.txt
18+ localTest
Original file line number Diff line number Diff line change @@ -359,9 +359,9 @@ public static StreamTableEnvironment getStreamTableEnv(StreamExecutionEnvironmen
359359
360360 TableConfig tableConfig = new TableConfig ();
361361
362- timeZoneCheck (confProperties .getProperty (TIME_ZONE ));
362+ timeZoneCheck (confProperties .getProperty (TIME_ZONE , TimeZone . getDefault (). getID () ));
363363
364- tableConfig .setLocalTimeZone (ZoneId .of (confProperties .getProperty (TIME_ZONE )));
364+ tableConfig .setLocalTimeZone (ZoneId .of (confProperties .getProperty (TIME_ZONE , TimeZone . getDefault (). getID () )));
365365
366366 StreamTableEnvironment tableEnv = StreamTableEnvironmentImpl .create (env , settings , tableConfig );
367367 StreamEnvConfigManager .streamTableEnvironmentStateTTLConfig (tableEnv , confProperties );
Original file line number Diff line number Diff line change 1+ /*
2+ * Licensed to the Apache Software Foundation (ASF) under one
3+ * or more contributor license agreements. See the NOTICE file
4+ * distributed with this work for additional information
5+ * regarding copyright ownership. The ASF licenses this file
6+ * to you under the Apache License, Version 2.0 (the
7+ * "License"); you may not use this file except in compliance
8+ * with the License. You may obtain a copy of the License at
9+ *
10+ * http://www.apache.org/licenses/LICENSE-2.0
11+ *
12+ * Unless required by applicable law or agreed to in writing, software
13+ * distributed under the License is distributed on an "AS IS" BASIS,
14+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ * See the License for the specific language governing permissions and
16+ * limitations under the License.
17+ */
18+
119package com .dtstack .flink .sql .localTest ;
220
321import com .alibaba .fastjson .JSONObject ;
Original file line number Diff line number Diff line change 1+ /*
2+ * Licensed to the Apache Software Foundation (ASF) under one
3+ * or more contributor license agreements. See the NOTICE file
4+ * distributed with this work for additional information
5+ * regarding copyright ownership. The ASF licenses this file
6+ * to you under the Apache License, Version 2.0 (the
7+ * "License"); you may not use this file except in compliance
8+ * with the License. You may obtain a copy of the License at
9+ *
10+ * http://www.apache.org/licenses/LICENSE-2.0
11+ *
12+ * Unless required by applicable law or agreed to in writing, software
13+ * distributed under the License is distributed on an "AS IS" BASIS,
14+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ * See the License for the specific language governing permissions and
16+ * limitations under the License.
17+ */
18+
119package com .dtstack .flink .sql .localTest ;
220
321import org .junit .Assert ;
You can’t perform that action at this time.
0 commit comments