You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/03/10 19:03:50 UTC

[GitHub] [superset] bkyryliuk commented on a change in pull request #13556: fix: athena query size limit breaking Upload CSV

bkyryliuk commented on a change in pull request #13556:
URL: https://github.com/apache/superset/pull/13556#discussion_r591792111



##########
File path: superset/db_engine_specs/athena.py
##########
@@ -64,3 +73,37 @@ def _mutate_label(label: str) -> str:
         :return: Conditionally mutated label
         """
         return label.lower()
+
+    @classmethod
+    def create_table_from_csv(  # pylint: disable=too-many-arguments

Review comment:
       it seems to me that a cleaner solution would be to move chunksize to the config / make it per engine & set it to lower value for athena
   https://github.com/apache/superset/blob/790ac5ef870815978f56ce81b806d43c18421940/superset/views/database/views.py#L193




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org