You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/01/11 05:41:15 UTC

[GitHub] [incubator-seatunnel] leo65535 opened a new pull request #1008: [SeaTunnel #949] [sql] Add sql conf template

leo65535 opened a new pull request #1008:
URL: https://github.com/apache/incubator-seatunnel/pull/1008


   <!--
   
   Thank you for contributing to SeaTunnel! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [GITHUB issue](https://github.com/apache/incubator-seatunnel/issues).
   
     - Name the pull request in the form "[SeaTunnel #XXXX] [component] Title of the pull request", where *SeaTunnel #XXXX* should be replaced by the actual issue number.
   
     - Minor fixes should be named following this pattern: `[hotfix] [docs] Fix typo in README.md doc`.
   
   -->
   
   ## Purpose of this pull request
   
   <!-- Describe the purpose of this pull request. For example: This pull request adds checkstyle plugin.-->
   
   Add sql conf template.
   
   ## Check list
   
   * [ ] Code changed are covered with tests, or it does not need tests for reason:
   * [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] leo65535 commented on pull request #1008: [SeaTunnel #949] [sql] Add sql conf template

Posted by GitBox <gi...@apache.org>.
leo65535 commented on pull request #1008:
URL: https://github.com/apache/incubator-seatunnel/pull/1008#issuecomment-1011904900


   cc @CalvinKirs the workflow seems hang.
   
   ![image](https://user-images.githubusercontent.com/95013770/149292978-95c86d35-9d8e-425d-82f8-d553caeb4191.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] wuchunfu commented on a change in pull request #1008: [SeaTunnel #949] [sql] Add sql conf template

Posted by GitBox <gi...@apache.org>.
wuchunfu commented on a change in pull request #1008:
URL: https://github.com/apache/incubator-seatunnel/pull/1008#discussion_r783114007



##########
File path: config/flink.sql.conf.template
##########
@@ -0,0 +1,51 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements.  See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to You under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License.  You may obtain a copy of the License at
+--
+--     http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+
+--
+-- This config file is a demonstration of sql processing in SeaTunnel config
+--
+-- export FLINK_HOME=/opt/flink-1.13.3
+-- bin/start-seatunnel-sql.sh --target local -Drest.port=8081 -Dtaskmanager.numberOfTaskSlots=1 -c config/application.conf
+--

Review comment:
       It seems more reasonable to modify `config/application.conf` to `config/application.sql`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] leo65535 commented on pull request #1008: [SeaTunnel #949] [sql] Add sql conf template

Posted by GitBox <gi...@apache.org>.
leo65535 commented on pull request #1008:
URL: https://github.com/apache/incubator-seatunnel/pull/1008#issuecomment-1011713852


   > It seems more reasonable to change the template file name to `flink.sql.template`
   
   thanks, we can keep the same style
   
   ```
   config
   ├── flink.batch.conf.template
   ├── flink.sql.conf.template
   ├── flink.streaming.conf.template
   ├── seatunnel-env.sh
   ├── spark.batch.conf.template
   └── spark.streaming.conf.template    
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] wuchunfu commented on pull request #1008: [SeaTunnel #949] [sql] Add sql conf template

Posted by GitBox <gi...@apache.org>.
wuchunfu commented on pull request #1008:
URL: https://github.com/apache/incubator-seatunnel/pull/1008#issuecomment-1011090863


   It seems more reasonable to change the template file name to `flink.sql.template`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] leo65535 commented on a change in pull request #1008: [SeaTunnel #949] [sql] Add sql conf template

Posted by GitBox <gi...@apache.org>.
leo65535 commented on a change in pull request #1008:
URL: https://github.com/apache/incubator-seatunnel/pull/1008#discussion_r783591829



##########
File path: config/flink.sql.conf.template
##########
@@ -0,0 +1,51 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements.  See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to You under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License.  You may obtain a copy of the License at
+--
+--     http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+
+--
+-- This config file is a demonstration of sql processing in SeaTunnel config
+--
+-- export FLINK_HOME=/opt/flink-1.13.3
+-- bin/start-seatunnel-sql.sh --target local -Drest.port=8081 -Dtaskmanager.numberOfTaskSlots=1 -c config/application.conf
+--

Review comment:
       Make sense.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] leo65535 commented on a change in pull request #1008: [SeaTunnel #949] [sql] Add sql conf template

Posted by GitBox <gi...@apache.org>.
leo65535 commented on a change in pull request #1008:
URL: https://github.com/apache/incubator-seatunnel/pull/1008#discussion_r783591732



##########
File path: config/flink.sql.conf.template
##########
@@ -0,0 +1,51 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements.  See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to You under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License.  You may obtain a copy of the License at
+--
+--     http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+
+--
+-- This config file is a demonstration of sql processing in SeaTunnel config
+--
+-- export FLINK_HOME=/opt/flink-1.13.3

Review comment:
       Make sense.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] CalvinKirs merged pull request #1008: [SeaTunnel #949] [sql] Add sql conf template

Posted by GitBox <gi...@apache.org>.
CalvinKirs merged pull request #1008:
URL: https://github.com/apache/incubator-seatunnel/pull/1008


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] wuchunfu commented on a change in pull request #1008: [SeaTunnel #949] [sql] Add sql conf template

Posted by GitBox <gi...@apache.org>.
wuchunfu commented on a change in pull request #1008:
URL: https://github.com/apache/incubator-seatunnel/pull/1008#discussion_r783112121



##########
File path: config/flink.sql.conf.template
##########
@@ -0,0 +1,51 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements.  See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to You under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License.  You may obtain a copy of the License at
+--
+--     http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+
+--
+-- This config file is a demonstration of sql processing in SeaTunnel config
+--
+-- export FLINK_HOME=/opt/flink-1.13.3

Review comment:
       If `FLINK_HOME` is specified in the `seatunnel-env.sh file` , does it need to be specified here? There should be some clarification here, like when to specify `FLINK_HOME` here




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org