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 2020/04/22 16:19:26 UTC

[GitHub] [incubator-superset] etr2460 opened a new issue #9617: CSV upload to Hive fails when the table already exists

etr2460 opened a new issue #9617:
URL: https://github.com/apache/incubator-superset/issues/9617


   The CSV Upload form has a `Table Exists` field that allows you to choose what action to be taken when uploading a csv file if the table already exists: Fail, Replace, or Append. This logic seems to be implemented in the base db_engine_spec, but does not exist for Hive. If the table already exists when uploading to Hive, it always fails, regardless of the value of the `Table Exists` field
   
   ### Expected results
   Replacing the table when the replace option is selected
   
   ### Actual results
   It fails
   
   #### Screenshots
   ![image](https://user-images.githubusercontent.com/7409244/80006639-0439e100-847a-11ea-9532-8327ff9f7d39.png)
   
   
   #### How to reproduce the bug
   
   1. Go to `/csvtodatabaseview/form`
   2. Set a table name in a Hive DB that already exists
   3. Select `Replace` for the Table Exists option
   4. Click save and see the error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `master`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   cc: @villebro @dpgaspar @john-bodley 


----------------------------------------------------------------
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


[GitHub] [incubator-superset] stale[bot] closed issue #9617: CSV upload to Hive fails when the table already exists

Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #9617:
URL: https://github.com/apache/incubator-superset/issues/9617


   


----------------------------------------------------------------
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


[GitHub] [incubator-superset] stale[bot] commented on issue #9617: CSV upload to Hive fails when the table already exists

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #9617:
URL: https://github.com/apache/incubator-superset/issues/9617#issuecomment-647154944


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


----------------------------------------------------------------
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