mik-laj commented on a change in pull request #7718: [AIRFLOW-5421] Add Presto 
to GCS transfer operator
URL: https://github.com/apache/airflow/pull/7718#discussion_r394272302
 
 

 ##########
 File path: airflow/providers/google/cloud/operators/presto_to_gcs.py
 ##########
 @@ -0,0 +1,212 @@
+#
+# 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.
+
+from airflow.providers.google.cloud.operators.sql_to_gcs import 
BaseSQLToGCSOperator
+from airflow.providers.presto.hooks.presto import PrestoHook
+from airflow.utils.decorators import apply_defaults
+
+
+class _AirflowPrestoCursorAdapter:
 
 Review comment:
   This adapter has not been thoroughly tested to see if it fully supports 
DBAPI, so I will change its name to PrestoToGCSCursorAdapter. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to