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/05/17 19:27:43 UTC

[GitHub] [incubator-superset] blcksrx opened a new pull request #9825: WIP: Upload excel

blcksrx opened a new pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825


   ### SUMMARY
   <!--- Describe the change below, including rationale and design decisions -->
   Upload excel file to create table In addition to the csv
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   ### TEST PLAN
   <!--- What steps should be taken to verify the changes -->
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [x] Has associated issue:
   - [x] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [x] Introduces new feature or API
   - [ ] Removes existing feature or API
   


----------------------------------------------------------------
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] blcksrx commented on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
blcksrx commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630788149


   @villebro So it needs to do copy and pates many same things for that. right? for example, it needs to add a column `allow_excel_upload` to the database and extra. do you okay with that?


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/656cdfb86709fa525c1122e359d2e767c6174351&el=desc) will **decrease** coverage by `5.06%`.
   > The diff coverage is `32.77%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.39%   65.33%   -5.07%     
   ==========================================
     Files         585      585              
     Lines       31042    31148     +106     
     Branches     3277     3277              
   ==========================================
   - Hits        21853    20349    -1504     
   - Misses       9078    10618    +1540     
   - Partials      111      181      +70     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <ø> (ø)` | |
   | #python | `69.51% <32.77%> (-0.48%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `60.55% <12.50%> (-29.19%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `83.88% <25.00%> (-3.03%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.08% <60.00%> (-12.62%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.30%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [158 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [656cdfb...b4bfcd8](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `5.75%`.
   > The diff coverage is `75.78%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   65.46%   -5.76%     
   ==========================================
     Files         585      585              
     Lines       30828    31158     +330     
     Branches     3237     3277      +40     
   ==========================================
   - Hits        21957    20398    -1559     
   - Misses       8762    10579    +1817     
   - Partials      109      181      +72     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <61.16%> (-0.02%)` | :arrow_down: |
   | #python | `69.74% <78.62%> (-1.67%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...src/SqlLab/components/ExploreCtasResultsButton.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL0V4cGxvcmVDdGFzUmVzdWx0c0J1dHRvbi5qc3g=) | `13.33% <0.00%> (ø)` | |
   | [superset-frontend/src/chart/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L0NoYXJ0LmpzeA==) | `10.41% <0.00%> (-56.25%)` | :arrow_down: |
   | [...src/dashboard/components/HeaderActionsDropdown.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0hlYWRlckFjdGlvbnNEcm9wZG93bi5qc3g=) | `70.83% <ø> (-8.34%)` | :arrow_down: |
   | [...et-frontend/src/dashboard/components/SaveModal.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL1NhdmVNb2RhbC5qc3g=) | `40.90% <0.00%> (-42.02%)` | :arrow_down: |
   | [.../src/dashboard/components/gridComponents/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0NoYXJ0LmpzeA==) | `67.41% <0.00%> (-20.23%)` | :arrow_down: |
   | [...ntend/src/dashboard/containers/DashboardHeader.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb250YWluZXJzL0Rhc2hib2FyZEhlYWRlci5qc3g=) | `100.00% <ø> (ø)` | |
   | [...-frontend/src/dashboard/reducers/dashboardState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9kYXNoYm9hcmRTdGF0ZS5qcw==) | `76.36% <ø> (-5.46%)` | :arrow_down: |
   | [...frontend/src/dashboard/reducers/getInitialState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9nZXRJbml0aWFsU3RhdGUuanM=) | `0.00% <ø> (-68.54%)` | :arrow_down: |
   | [...erset-frontend/src/datasource/DatasourceEditor.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2RhdGFzb3VyY2UvRGF0YXNvdXJjZUVkaXRvci5qc3g=) | `61.25% <ø> (ø)` | |
   | [...tend/src/explore/components/DisplayQueryButton.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9EaXNwbGF5UXVlcnlCdXR0b24uanN4) | `50.00% <0.00%> (-19.34%)` | :arrow_down: |
   | ... and [253 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/b296a0f250979bf70e9cb2a2a2b48fd10038a363&el=desc) will **decrease** coverage by `11.94%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@             Coverage Diff             @@
   ##           master    #9825       +/-   ##
   ===========================================
   - Coverage   71.31%   59.36%   -11.95%     
   ===========================================
     Files         585      401      -184     
     Lines       30887    12840    -18047     
     Branches     3236     3277       +41     
   ===========================================
   - Hits        22027     7623    -14404     
   + Misses       8750     5036     -3714     
   - Partials      110      181       +71     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <ø> (-0.05%)` | :arrow_down: |
   | #python | `?` | |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/setup/setupColors.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3NldHVwL3NldHVwQ29sb3JzLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/chart/ChartContainer.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L0NoYXJ0Q29udGFpbmVyLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/setup/setupFormatters.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3NldHVwL3NldHVwRm9ybWF0dGVycy5qcw==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/reducers/index.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvcmVkdWNlcnMvaW5kZXguanM=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [326 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [b296a0f...d21a890](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] villebro commented on a change in pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
villebro commented on a change in pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#discussion_r440597170



##########
File path: setup.py
##########
@@ -109,6 +109,7 @@ def get_git_sha():
         "sqlalchemy-utils>=0.33.2,<0.36.5",
         "sqlparse>=0.3.0, <0.4",
         "wtforms-json",
+        "xlrd>=1.2.0",

Review comment:
       Let's make this dependency optional by placing it in `setup.py` under `extras_require`, something like
   ```
   extras_require={
       "excel": ["xlrd>=1.2.0,xlrd<1.3"],
   }
   ```

##########
File path: superset/views/database/forms.py
##########
@@ -94,11 +94,11 @@ def at_least_one_schema_is_allowed(database: Database) -> bool:
         validators=[
             FileRequired(),
             FileAllowed(
-                config["ALLOWED_EXTENSIONS"],
+                config["CSV_EXTENSIONS"],

Review comment:
       I think you also need to do an intersection here, as someone might have removed e.g. `tsv` from `ALLOWED_EXTENSIONS`

##########
File path: superset/app.py
##########
@@ -327,15 +332,30 @@ def init_views(self) -> None:
             category="SQL Lab",
             category_label=__("SQL Lab"),
         )
-        appbuilder.add_link(
-            "Upload a CSV",
-            label=__("Upload a CSV"),
-            href="/csvtodatabaseview/form",
-            icon="fa-upload",
-            category="Sources",
-            category_label=__("Sources"),
-            category_icon="fa-wrench",
-        )
+        if self.config["CSV_EXTENSIONS"].intersection(
+            self.config["ALLOWED_EXTENSIONS"]
+        ):
+            appbuilder.add_link(
+                "Upload a CSV",
+                label=__("Upload a CSV"),
+                href="/csvtodatabaseview/form",
+                icon="fa-upload",
+                category="Sources",
+                category_label=__("Sources"),
+                category_icon="fa-wrench",
+            )
+        if self.config["EXCEL_EXTENSIONS"].intersection(
+            self.config["ALLOWED_EXTENSIONS"]
+        ):

Review comment:
       Let's also add a check to see if the `xlrd` package is available here:
   ```python
   try:
       import xlrd
       if ...:
   ```
   Doing this the menu will not be added unless the `xlrd` package is installed.




----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559






----------------------------------------------------------------
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] cyw233 commented on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
cyw233 commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-661490394


   Hi @blcksrx and @villebro thanks for bringing this feature to Superset! Today when I first tried this feature it gave me this error: "AttributeError: 'SupersetSecurityManager' object has no attribute 'database_access'",  but when I changed ` security_manager.database_access(database)` to `security_manager.can_access_database(database)` it worked. I'm not quite understand why the change works, so could you guys help me with this? Cheers!
   ![Screen Shot 2020-07-21 at 10 25 52 am](https://user-images.githubusercontent.com/49756587/87999093-315f6380-cb3d-11ea-95c8-3be5eacb00f1.png)
   <img width="656" alt="Screen Shot 2020-07-21 at 10 25 09 am" src="https://user-images.githubusercontent.com/49756587/87999099-358b8100-cb3d-11ea-907a-9367a2753d18.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.

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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/656cdfb86709fa525c1122e359d2e767c6174351&el=desc) will **decrease** coverage by `4.97%`.
   > The diff coverage is `33.33%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.39%   65.42%   -4.98%     
   ==========================================
     Files         585      585              
     Lines       31042    31158     +116     
     Branches     3277     3277              
   ==========================================
   - Hits        21853    20385    -1468     
   - Misses       9078    10592    +1514     
   - Partials      111      181      +70     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <ø> (ø)` | |
   | #python | `69.66% <33.33%> (-0.32%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <12.50%> (-27.53%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.16% <25.00%> (-2.76%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.30%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [146 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [656cdfb...b4bfcd8](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/42a56e29a1b232a2a5fbee367cbdcb5f44ced052&el=desc) will **decrease** coverage by `0.59%`.
   > The diff coverage is `35.93%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.49%   69.89%   -0.60%     
   ==========================================
     Files         594      190     -404     
     Lines       31386    18474   -12912     
     Branches     3214        0    -3214     
   ==========================================
   - Hits        22126    12913    -9213     
   + Misses       9144     5561    -3583     
   + Partials      116        0     -116     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `?` | |
   | #python | `69.89% <35.93%> (-0.39%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `60.11% <17.64%> (-29.64%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `83.70% <25.00%> (-3.06%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.60% <80.00%> (-0.22%)` | :arrow_down: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `90.07% <100.00%> (+0.07%)` | :arrow_up: |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `59.64% <0.00%> (-21.06%)` | :arrow_down: |
   | [superset/utils/cache.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdXRpbHMvY2FjaGUucHk=) | `48.00% <0.00%> (-20.00%)` | :arrow_down: |
   | [superset/db\_engine\_specs/mysql.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL215c3FsLnB5) | `78.72% <0.00%> (-12.59%)` | :arrow_down: |
   | [superset/views/database/validators.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvdmFsaWRhdG9ycy5weQ==) | `78.94% <0.00%> (-5.27%)` | :arrow_down: |
   | [superset/views/database/api.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvYXBpLnB5) | `84.09% <0.00%> (-3.41%)` | :arrow_down: |
   | ... and [437 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [42a56e2...2483631](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/b296a0f250979bf70e9cb2a2a2b48fd10038a363&el=desc) will **decrease** coverage by `5.98%`.
   > The diff coverage is `32.20%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.31%   65.33%   -5.99%     
   ==========================================
     Files         585      585              
     Lines       30887    31149     +262     
     Branches     3236     3277      +41     
   ==========================================
   - Hits        22027    20350    -1677     
   - Misses       8750    10618    +1868     
   - Partials      110      181      +71     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <ø> (-0.05%)` | :arrow_down: |
   | #python | `69.51% <32.20%> (-2.03%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `60.55% <12.50%> (-29.19%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `83.88% <25.00%> (-3.33%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.46%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.24%)` | :arrow_up: |
   | [superset/examples/countries.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZXhhbXBsZXMvY291bnRyaWVzLnB5) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [197 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [b296a0f...d21a890](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `5.89%`.
   > The diff coverage is `75.76%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   65.33%   -5.90%     
   ==========================================
     Files         585      585              
     Lines       30828    31148     +320     
     Branches     3237     3277      +40     
   ==========================================
   - Hits        21957    20349    -1608     
   - Misses       8762    10618    +1856     
   - Partials      109      181      +72     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <61.16%> (-0.02%)` | :arrow_down: |
   | #python | `69.51% <78.60%> (-1.90%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...src/SqlLab/components/ExploreCtasResultsButton.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL0V4cGxvcmVDdGFzUmVzdWx0c0J1dHRvbi5qc3g=) | `13.33% <0.00%> (ø)` | |
   | [superset-frontend/src/chart/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L0NoYXJ0LmpzeA==) | `10.41% <0.00%> (-56.25%)` | :arrow_down: |
   | [...src/dashboard/components/HeaderActionsDropdown.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0hlYWRlckFjdGlvbnNEcm9wZG93bi5qc3g=) | `70.83% <ø> (-8.34%)` | :arrow_down: |
   | [...et-frontend/src/dashboard/components/SaveModal.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL1NhdmVNb2RhbC5qc3g=) | `40.90% <0.00%> (-42.02%)` | :arrow_down: |
   | [.../src/dashboard/components/gridComponents/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0NoYXJ0LmpzeA==) | `67.41% <0.00%> (-20.23%)` | :arrow_down: |
   | [...ntend/src/dashboard/containers/DashboardHeader.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb250YWluZXJzL0Rhc2hib2FyZEhlYWRlci5qc3g=) | `100.00% <ø> (ø)` | |
   | [...-frontend/src/dashboard/reducers/dashboardState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9kYXNoYm9hcmRTdGF0ZS5qcw==) | `76.36% <ø> (-5.46%)` | :arrow_down: |
   | [...frontend/src/dashboard/reducers/getInitialState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9nZXRJbml0aWFsU3RhdGUuanM=) | `0.00% <ø> (-68.54%)` | :arrow_down: |
   | [...erset-frontend/src/datasource/DatasourceEditor.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2RhdGFzb3VyY2UvRGF0YXNvdXJjZUVkaXRvci5qc3g=) | `61.25% <ø> (ø)` | |
   | [...tend/src/explore/components/DisplayQueryButton.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9EaXNwbGF5UXVlcnlCdXR0b24uanN4) | `50.00% <0.00%> (-19.34%)` | :arrow_down: |
   | ... and [266 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] villebro commented on a change in pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
villebro commented on a change in pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#discussion_r427019488



##########
File path: superset/config.py
##########
@@ -351,8 +351,9 @@ def _try_json_readsha(filepath, length):  # pylint: disable=unused-argument
 SUPERSET_WEBSERVER_DOMAINS = None
 
 # Allowed format types for upload on Database view
-# TODO: Add processing of other spreadsheet formats (xls, xlsx etc)
-ALLOWED_EXTENSIONS = {"csv", "tsv"}
+EXCEL_EXTENSION = ["xlsx", "xls"]
+CSV_EXTENSION = ["csv", "tsv"]
+ALLOWED_EXTENSIONS = {"csv", "tsv", "xlsx", "xls"}

Review comment:
       ```suggestion
   EXCEL_EXTENSION = {"xlsx", "xls"}
   CSV_EXTENSION = {"csv", "tsv"}
   ALLOWED_EXTENSIONS = {*EXCEL_EXTENSION, *CSV_EXTENSION}
   ```
   The first two should be sets, and the last one should be a union of the above.
   




----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `0.98%`.
   > The diff coverage is `77.52%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   70.24%   -0.99%     
   ==========================================
     Files         585      585              
     Lines       30828    31158     +330     
     Branches     3237     3277      +40     
   ==========================================
   - Hits        21957    21886      -71     
   - Misses       8762     9160     +398     
   - Partials      109      112       +3     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `53.83% <58.82%> (-0.02%)` | :arrow_down: |
   | #javascript | `59.36% <61.16%> (-0.02%)` | :arrow_down: |
   | #python | `69.74% <78.62%> (-1.67%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...src/SqlLab/components/ExploreCtasResultsButton.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL0V4cGxvcmVDdGFzUmVzdWx0c0J1dHRvbi5qc3g=) | `13.33% <0.00%> (ø)` | |
   | [superset-frontend/src/chart/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L0NoYXJ0LmpzeA==) | `66.66% <0.00%> (ø)` | |
   | [...src/dashboard/components/HeaderActionsDropdown.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0hlYWRlckFjdGlvbnNEcm9wZG93bi5qc3g=) | `79.16% <ø> (ø)` | |
   | [.../src/dashboard/components/gridComponents/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0NoYXJ0LmpzeA==) | `88.76% <0.00%> (+1.12%)` | :arrow_up: |
   | [...ntend/src/dashboard/containers/DashboardHeader.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb250YWluZXJzL0Rhc2hib2FyZEhlYWRlci5qc3g=) | `100.00% <ø> (ø)` | |
   | [...-frontend/src/dashboard/reducers/dashboardState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9kYXNoYm9hcmRTdGF0ZS5qcw==) | `81.81% <ø> (ø)` | |
   | [...frontend/src/dashboard/reducers/getInitialState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9nZXRJbml0aWFsU3RhdGUuanM=) | `68.53% <ø> (ø)` | |
   | [...erset-frontend/src/datasource/DatasourceEditor.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2RhdGFzb3VyY2UvRGF0YXNvdXJjZUVkaXRvci5qc3g=) | `61.25% <ø> (ø)` | |
   | [...rontend/src/explore/components/PropertiesModal.tsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Qcm9wZXJ0aWVzTW9kYWwudHN4) | `16.66% <0.00%> (ø)` | |
   | [...ontend/src/explore/components/QueryAndSaveBtns.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9RdWVyeUFuZFNhdmVCdG5zLmpzeA==) | `90.00% <ø> (ø)` | |
   | ... and [112 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-io edited a comment on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-629848688


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/ea9b7f2dc426cf912f8f5f2b749cc707c9af6964&el=desc) will **increase** coverage by `4.48%`.
   > The diff coverage is `65.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   + Coverage   66.16%   70.65%   +4.48%     
   ==========================================
     Files         585      585              
     Lines       30427    30443      +16     
     Branches     3152     3152              
   ==========================================
   + Hits        20133    21510    +1377     
   + Misses      10113     8815    -1298     
   + Partials      181      118      -63     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `52.79% <ø> (?)` | |
   | #javascript | `59.25% <ø> (ø)` | |
   | #python | `70.99% <65.00%> (-0.04%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `85.47% <56.25%> (-1.64%)` | :arrow_down: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.66% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `89.71% <100.00%> (ø)` | |
   | [superset/db\_engine\_specs/postgres.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3Bvc3RncmVzLnB5) | `97.29% <0.00%> (-2.71%)` | :arrow_down: |
   | [superset/viz.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdml6LnB5) | `71.91% <0.00%> (-0.10%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/actions/sqlLab.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9hY3Rpb25zL3NxbExhYi5qcw==) | `61.13% <0.00%> (+0.65%)` | :arrow_up: |
   | [...erset-frontend/src/SqlLab/components/SqlEditor.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1NxbEVkaXRvci5qc3g=) | `53.84% <0.00%> (+1.28%)` | :arrow_up: |
   | [superset-frontend/src/components/EditableTitle.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRWRpdGFibGVUaXRsZS5qc3g=) | `81.69% <0.00%> (+1.40%)` | :arrow_up: |
   | [...perset-frontend/src/components/CopyToClipboard.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ29weVRvQ2xpcGJvYXJkLmpzeA==) | `36.36% <0.00%> (+1.51%)` | :arrow_up: |
   | [...hboard/components/resizable/ResizableContainer.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL3Jlc2l6YWJsZS9SZXNpemFibGVDb250YWluZXIuanN4) | `71.87% <0.00%> (+1.56%)` | :arrow_up: |
   | ... and [138 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [ea9b7f2...c7d389b](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] blcksrx commented on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
blcksrx commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-633433803


   @villebro I got it. thank


----------------------------------------------------------------
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] villebro commented on a change in pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
villebro commented on a change in pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#discussion_r430154224



##########
File path: superset/app.py
##########
@@ -342,6 +342,15 @@ def init_views(self) -> None:
             category_label=__("Sources"),
             category_icon="fa-wrench",
         )
+        appbuilder.add_link(
+            "Upload a Excel",
+            label=__("Upload a Excel"),

Review comment:
       I would call this either "Upload Excel" or "Upload Excel sheet"

##########
File path: superset/db_engine_specs/base.py
##########
@@ -429,6 +429,20 @@ def set_or_update_query_limit(cls, sql: str, limit: int) -> str:
         parsed_query = sql_parse.ParsedQuery(sql)
         return parsed_query.set_or_update_query_limit(limit)
 
+    @staticmethod
+    def excel_to_df(**kwargs: Any) -> pd.DataFrame:
+        """ Read excel into Pandas DataFrame
+           :param kwargs: params to be passed to DataFrame.read_excel
+           :return: Pandas DataFrame containing data from csv
+        """
+        kwargs["encoding"] = "utf-8"
+        kwargs["iterator"] = True
+        chunks = pd.io.excel.read_excel(
+            io=kwargs["filepath_or_buffer"], sheet_name=None

Review comment:
       Perhaps `sheet_name` could be a parameter in the form.

##########
File path: superset/views/database/forms.py
##########
@@ -207,3 +207,177 @@ def at_least_one_schema_is_allowed(database):
         validators=[Optional()],
         widget=BS3TextFieldWidget(),
     )
+
+
+class ExcelToDatabaseForm(DynamicForm):
+    # pylint: disable=E0211
+    def excel_allowed_dbs():  # type: ignore
+        excel_allowed_dbs = []
+        # TODO: change allow_csv_upload to allow_file_upload
+        excel_enabled_dbs = (
+            db.session.query(models.Database).filter_by(allow_csv_upload=True).all()
+        )
+        for excel_enabled_db in excel_enabled_dbs:
+            if CsvToDatabaseForm.at_least_one_schema_is_allowed(excel_enabled_db):
+                excel_allowed_dbs.append(excel_enabled_db)
+        return excel_allowed_dbs
+
+    @staticmethod
+    def at_least_one_schema_is_allowed(database):
+        """
+        If the user has access to the database or all datasource
+            1. if schemas_allowed_for_csv_upload is empty
+                a) if database does not support schema
+                    user is able to upload csv without specifying schema name
+                b) if database supports schema
+                    user is able to upload csv to any schema
+            2. if schemas_allowed_for_csv_upload is not empty
+                a) if database does not support schema
+                    This situation is impossible and upload will fail
+                b) if database supports schema
+                    user is able to upload to schema in schemas_allowed_for_csv_upload
+        elif the user does not access to the database or all datasource
+            1. if schemas_allowed_for_csv_upload is empty
+                a) if database does not support schema
+                    user is unable to upload csv
+                b) if database supports schema
+                    user is unable to upload csv
+            2. if schemas_allowed_for_csv_upload is not empty
+                a) if database does not support schema
+                    This situation is impossible and user is unable to upload csv
+                b) if database supports schema
+                    user is able to upload to schema in schemas_allowed_for_csv_upload
+        """
+        if (
+            security_manager.database_access(database)
+            or security_manager.all_datasource_access()
+        ):
+            return True
+        schemas = database.get_schema_access_for_csv_upload()
+        if schemas and security_manager.schemas_accessible_by_user(
+            database, schemas, False
+        ):
+            return True
+        return False
+
+    name = StringField(
+        _("Table Name"),
+        description=_("Name of table to be created from excel data."),
+        validators=[DataRequired()],
+        widget=BS3TextFieldWidget(),
+    )
+    excel_file = FileField(
+        _("Excel File"),
+        description=_("Select a Excel file to be uploaded to a database."),
+        validators=[
+            FileRequired(),
+            FileAllowed(
+                config["ALLOWED_EXTENSIONS"],
+                _(
+                    "Only the following file extensions are allowed: "
+                    "%(allowed_extensions)s",
+                    allowed_extensions=", ".join(config["ALLOWED_EXTENSIONS"]),
+                ),
+            ),
+        ],
+    )
+    con = QuerySelectField(
+        _("Database"),
+        query_factory=excel_allowed_dbs,
+        get_pk=lambda a: a.id,
+        get_label=lambda a: a.database_name,
+    )
+    schema = StringField(
+        _("Schema"),
+        description=_("Specify a schema (if database flavor supports this)."),
+        validators=[Optional()],
+        widget=BS3TextFieldWidget(),
+    )
+    if_exists = SelectField(
+        _("Table Exists"),
+        description=_(
+            "If table exists do one of the following: "
+            "Fail (do nothing), Replace (drop and recreate table) "
+            "or Append (insert data)."
+        ),
+        choices=[
+            ("fail", _("Fail")),
+            ("replace", _("Replace")),
+            ("append", _("Append")),
+        ],
+        validators=[DataRequired()],
+    )
+    header = IntegerField(
+        _("Header Row"),
+        description=_(
+            "Row containing the headers to use as "
+            "column names (0 is first line of data). "
+            "Leave empty if there is no header row."
+        ),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    index_col = IntegerField(
+        _("Index Column"),
+        description=_(
+            "Column to use as the row labels of the "
+            "dataframe. Leave empty if no index column."
+        ),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    mangle_dupe_cols = BooleanField(
+        _("Mangle Duplicate Columns"),
+        description=_('Specify duplicate columns as "X.0, X.1".'),
+    )
+    skipinitialspace = BooleanField(
+        _("Skip Initial Space"), description=_("Skip spaces after delimiter.")
+    )
+    skiprows = IntegerField(
+        _("Skip Rows"),
+        description=_("Number of rows to skip at start of file."),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    nrows = IntegerField(
+        _("Rows to Read"),
+        description=_("Number of rows of file to read."),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    skip_blank_lines = BooleanField(
+        _("Skip Blank Lines"),
+        description=_(
+            "Skip blank lines rather than interpreting them " "as NaN values."

Review comment:
       The string break can be removed

##########
File path: superset/views/database/views.py
##########
@@ -241,3 +241,152 @@ def form_post(self, form):
         flash(message, "info")
         stats_logger.incr("successful_csv_upload")
         return redirect("/tablemodelview/list/")
+
+
+class ExcelToDatabaseView(SimpleFormView):
+    form = ExcelToDatabaseForm
+    form_template = "superset/form_view/excel_to_database_view/edit.html"
+    form_title = _("Excel to Database configuration")
+    add_columns = ["database", "schema", "table_name"]
+
+    def form_get(self, form):
+        form.header.data = 0
+        form.mangle_dupe_cols.data = True
+        form.skipinitialspace.data = False
+        form.skip_blank_lines.data = True
+        form.infer_datetime_format.data = True
+        form.decimal.data = "."
+        form.if_exists.data = "fail"
+
+    def form_post(self, form):
+        database = form.con.data
+        excel_table = Table(table=form.name.data, schema=form.schema.data)
+
+        if not schema_allows_csv_upload(database, excel_table.schema):
+            message = _(
+                'Database "%(database_name)s" schema "%(schema_name)s" '
+                "is not allowed for csv uploads. Please contact your Superset Admin.",

Review comment:
       We should not refer to CSV in the Excel upload. Perhaps this could be rephrased simply as "..not allowed for uploads".

##########
File path: superset/views/database/forms.py
##########
@@ -207,3 +207,177 @@ def at_least_one_schema_is_allowed(database):
         validators=[Optional()],
         widget=BS3TextFieldWidget(),
     )
+
+
+class ExcelToDatabaseForm(DynamicForm):
+    # pylint: disable=E0211
+    def excel_allowed_dbs():  # type: ignore
+        excel_allowed_dbs = []
+        # TODO: change allow_csv_upload to allow_file_upload
+        excel_enabled_dbs = (
+            db.session.query(models.Database).filter_by(allow_csv_upload=True).all()
+        )
+        for excel_enabled_db in excel_enabled_dbs:
+            if CsvToDatabaseForm.at_least_one_schema_is_allowed(excel_enabled_db):
+                excel_allowed_dbs.append(excel_enabled_db)
+        return excel_allowed_dbs
+
+    @staticmethod
+    def at_least_one_schema_is_allowed(database):
+        """
+        If the user has access to the database or all datasource
+            1. if schemas_allowed_for_csv_upload is empty
+                a) if database does not support schema
+                    user is able to upload csv without specifying schema name
+                b) if database supports schema
+                    user is able to upload csv to any schema
+            2. if schemas_allowed_for_csv_upload is not empty
+                a) if database does not support schema
+                    This situation is impossible and upload will fail
+                b) if database supports schema
+                    user is able to upload to schema in schemas_allowed_for_csv_upload
+        elif the user does not access to the database or all datasource
+            1. if schemas_allowed_for_csv_upload is empty
+                a) if database does not support schema
+                    user is unable to upload csv
+                b) if database supports schema
+                    user is unable to upload csv
+            2. if schemas_allowed_for_csv_upload is not empty
+                a) if database does not support schema
+                    This situation is impossible and user is unable to upload csv
+                b) if database supports schema
+                    user is able to upload to schema in schemas_allowed_for_csv_upload
+        """
+        if (
+            security_manager.database_access(database)
+            or security_manager.all_datasource_access()
+        ):
+            return True
+        schemas = database.get_schema_access_for_csv_upload()
+        if schemas and security_manager.schemas_accessible_by_user(
+            database, schemas, False
+        ):
+            return True
+        return False
+
+    name = StringField(
+        _("Table Name"),
+        description=_("Name of table to be created from excel data."),
+        validators=[DataRequired()],
+        widget=BS3TextFieldWidget(),
+    )
+    excel_file = FileField(
+        _("Excel File"),
+        description=_("Select a Excel file to be uploaded to a database."),
+        validators=[
+            FileRequired(),
+            FileAllowed(
+                config["ALLOWED_EXTENSIONS"],
+                _(
+                    "Only the following file extensions are allowed: "
+                    "%(allowed_extensions)s",
+                    allowed_extensions=", ".join(config["ALLOWED_EXTENSIONS"]),

Review comment:
       Here we should probably only check for allowed Excel extensions, i.e. the intersection of `ALLOWED_EXTENSIONS` and `EXCEL_EXTENSION`

##########
File path: superset/app.py
##########
@@ -342,6 +342,15 @@ def init_views(self) -> None:
             category_label=__("Sources"),
             category_icon="fa-wrench",
         )
+        appbuilder.add_link(

Review comment:
       I would check if Excel extensions from `EXCEL_EXTENSION` are enabled in the `ALLOWED_EXTENSIONS` whitelist. While at it, the same check could be done for `CSV` extensions.

##########
File path: superset/views/database/views.py
##########
@@ -241,3 +241,152 @@ def form_post(self, form):
         flash(message, "info")
         stats_logger.incr("successful_csv_upload")
         return redirect("/tablemodelview/list/")
+
+
+class ExcelToDatabaseView(SimpleFormView):
+    form = ExcelToDatabaseForm
+    form_template = "superset/form_view/excel_to_database_view/edit.html"
+    form_title = _("Excel to Database configuration")
+    add_columns = ["database", "schema", "table_name"]
+
+    def form_get(self, form):
+        form.header.data = 0
+        form.mangle_dupe_cols.data = True
+        form.skipinitialspace.data = False
+        form.skip_blank_lines.data = True
+        form.infer_datetime_format.data = True
+        form.decimal.data = "."
+        form.if_exists.data = "fail"
+
+    def form_post(self, form):
+        database = form.con.data
+        excel_table = Table(table=form.name.data, schema=form.schema.data)
+
+        if not schema_allows_csv_upload(database, excel_table.schema):
+            message = _(
+                'Database "%(database_name)s" schema "%(schema_name)s" '
+                "is not allowed for csv uploads. Please contact your Superset Admin.",
+                database_name=database.database_name,
+                schema_name=excel_table.schema,
+            )
+            flash(message, "danger")
+            return redirect("/exceltodatabaseview/form")
+
+        if "." in excel_table.table and excel_table.schema:
+            message = _(
+                "You cannot specify a namespace both in the name of the table: "
+                '"%(csv_table.table)s" and in the schema field: '
+                '"%(csv_table.schema)s". Please remove one',
+                table=excel_table.table,
+                schema=excel_table.schema,
+            )

Review comment:
       These should probably be `%(table)s` and `%(schema)s` respectively, as that's what the `flask_babel.lazy_gettext` keywords are referring to.

##########
File path: superset/views/database/forms.py
##########
@@ -207,3 +207,177 @@ def at_least_one_schema_is_allowed(database):
         validators=[Optional()],
         widget=BS3TextFieldWidget(),
     )
+
+
+class ExcelToDatabaseForm(DynamicForm):
+    # pylint: disable=E0211
+    def excel_allowed_dbs():  # type: ignore
+        excel_allowed_dbs = []
+        # TODO: change allow_csv_upload to allow_file_upload
+        excel_enabled_dbs = (
+            db.session.query(models.Database).filter_by(allow_csv_upload=True).all()
+        )
+        for excel_enabled_db in excel_enabled_dbs:
+            if CsvToDatabaseForm.at_least_one_schema_is_allowed(excel_enabled_db):
+                excel_allowed_dbs.append(excel_enabled_db)
+        return excel_allowed_dbs
+
+    @staticmethod
+    def at_least_one_schema_is_allowed(database):
+        """
+        If the user has access to the database or all datasource
+            1. if schemas_allowed_for_csv_upload is empty
+                a) if database does not support schema
+                    user is able to upload csv without specifying schema name
+                b) if database supports schema
+                    user is able to upload csv to any schema
+            2. if schemas_allowed_for_csv_upload is not empty
+                a) if database does not support schema
+                    This situation is impossible and upload will fail
+                b) if database supports schema
+                    user is able to upload to schema in schemas_allowed_for_csv_upload
+        elif the user does not access to the database or all datasource
+            1. if schemas_allowed_for_csv_upload is empty
+                a) if database does not support schema
+                    user is unable to upload csv
+                b) if database supports schema
+                    user is unable to upload csv
+            2. if schemas_allowed_for_csv_upload is not empty
+                a) if database does not support schema
+                    This situation is impossible and user is unable to upload csv
+                b) if database supports schema
+                    user is able to upload to schema in schemas_allowed_for_csv_upload
+        """
+        if (
+            security_manager.database_access(database)
+            or security_manager.all_datasource_access()
+        ):
+            return True
+        schemas = database.get_schema_access_for_csv_upload()
+        if schemas and security_manager.schemas_accessible_by_user(
+            database, schemas, False
+        ):
+            return True
+        return False
+
+    name = StringField(
+        _("Table Name"),
+        description=_("Name of table to be created from excel data."),
+        validators=[DataRequired()],
+        widget=BS3TextFieldWidget(),
+    )
+    excel_file = FileField(
+        _("Excel File"),
+        description=_("Select a Excel file to be uploaded to a database."),
+        validators=[
+            FileRequired(),
+            FileAllowed(
+                config["ALLOWED_EXTENSIONS"],
+                _(
+                    "Only the following file extensions are allowed: "
+                    "%(allowed_extensions)s",
+                    allowed_extensions=", ".join(config["ALLOWED_EXTENSIONS"]),
+                ),
+            ),
+        ],
+    )
+    con = QuerySelectField(
+        _("Database"),
+        query_factory=excel_allowed_dbs,
+        get_pk=lambda a: a.id,
+        get_label=lambda a: a.database_name,
+    )
+    schema = StringField(
+        _("Schema"),
+        description=_("Specify a schema (if database flavor supports this)."),
+        validators=[Optional()],
+        widget=BS3TextFieldWidget(),
+    )
+    if_exists = SelectField(
+        _("Table Exists"),
+        description=_(
+            "If table exists do one of the following: "
+            "Fail (do nothing), Replace (drop and recreate table) "
+            "or Append (insert data)."
+        ),
+        choices=[
+            ("fail", _("Fail")),
+            ("replace", _("Replace")),
+            ("append", _("Append")),
+        ],
+        validators=[DataRequired()],
+    )
+    header = IntegerField(
+        _("Header Row"),
+        description=_(
+            "Row containing the headers to use as "
+            "column names (0 is first line of data). "
+            "Leave empty if there is no header row."
+        ),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    index_col = IntegerField(
+        _("Index Column"),
+        description=_(
+            "Column to use as the row labels of the "
+            "dataframe. Leave empty if no index column."
+        ),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    mangle_dupe_cols = BooleanField(
+        _("Mangle Duplicate Columns"),
+        description=_('Specify duplicate columns as "X.0, X.1".'),
+    )
+    skipinitialspace = BooleanField(
+        _("Skip Initial Space"), description=_("Skip spaces after delimiter.")
+    )
+    skiprows = IntegerField(
+        _("Skip Rows"),
+        description=_("Number of rows to skip at start of file."),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    nrows = IntegerField(
+        _("Rows to Read"),
+        description=_("Number of rows of file to read."),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    skip_blank_lines = BooleanField(
+        _("Skip Blank Lines"),
+        description=_(
+            "Skip blank lines rather than interpreting them " "as NaN values."
+        ),
+    )
+    parse_dates = CommaSeparatedListField(
+        _("Parse Dates"),
+        description=_(
+            "A comma separated list of columns that should be " "parsed as dates."
+        ),
+        filters=[filter_not_empty_values],
+    )
+    infer_datetime_format = BooleanField(
+        _("Infer Datetime Format"),
+        description=_("Use Pandas to interpret the datetime format " "automatically."),

Review comment:
       Same here

##########
File path: superset/views/database/forms.py
##########
@@ -207,3 +207,177 @@ def at_least_one_schema_is_allowed(database):
         validators=[Optional()],
         widget=BS3TextFieldWidget(),
     )
+
+
+class ExcelToDatabaseForm(DynamicForm):
+    # pylint: disable=E0211
+    def excel_allowed_dbs():  # type: ignore
+        excel_allowed_dbs = []
+        # TODO: change allow_csv_upload to allow_file_upload
+        excel_enabled_dbs = (
+            db.session.query(models.Database).filter_by(allow_csv_upload=True).all()
+        )
+        for excel_enabled_db in excel_enabled_dbs:
+            if CsvToDatabaseForm.at_least_one_schema_is_allowed(excel_enabled_db):
+                excel_allowed_dbs.append(excel_enabled_db)
+        return excel_allowed_dbs
+
+    @staticmethod
+    def at_least_one_schema_is_allowed(database):
+        """
+        If the user has access to the database or all datasource
+            1. if schemas_allowed_for_csv_upload is empty
+                a) if database does not support schema
+                    user is able to upload csv without specifying schema name
+                b) if database supports schema
+                    user is able to upload csv to any schema
+            2. if schemas_allowed_for_csv_upload is not empty
+                a) if database does not support schema
+                    This situation is impossible and upload will fail
+                b) if database supports schema
+                    user is able to upload to schema in schemas_allowed_for_csv_upload
+        elif the user does not access to the database or all datasource
+            1. if schemas_allowed_for_csv_upload is empty
+                a) if database does not support schema
+                    user is unable to upload csv
+                b) if database supports schema
+                    user is unable to upload csv
+            2. if schemas_allowed_for_csv_upload is not empty
+                a) if database does not support schema
+                    This situation is impossible and user is unable to upload csv
+                b) if database supports schema
+                    user is able to upload to schema in schemas_allowed_for_csv_upload
+        """
+        if (
+            security_manager.database_access(database)
+            or security_manager.all_datasource_access()
+        ):
+            return True
+        schemas = database.get_schema_access_for_csv_upload()
+        if schemas and security_manager.schemas_accessible_by_user(
+            database, schemas, False
+        ):
+            return True
+        return False
+
+    name = StringField(
+        _("Table Name"),
+        description=_("Name of table to be created from excel data."),
+        validators=[DataRequired()],
+        widget=BS3TextFieldWidget(),
+    )
+    excel_file = FileField(
+        _("Excel File"),
+        description=_("Select a Excel file to be uploaded to a database."),
+        validators=[
+            FileRequired(),
+            FileAllowed(
+                config["ALLOWED_EXTENSIONS"],
+                _(
+                    "Only the following file extensions are allowed: "
+                    "%(allowed_extensions)s",
+                    allowed_extensions=", ".join(config["ALLOWED_EXTENSIONS"]),
+                ),
+            ),
+        ],
+    )
+    con = QuerySelectField(
+        _("Database"),
+        query_factory=excel_allowed_dbs,
+        get_pk=lambda a: a.id,
+        get_label=lambda a: a.database_name,
+    )
+    schema = StringField(
+        _("Schema"),
+        description=_("Specify a schema (if database flavor supports this)."),
+        validators=[Optional()],
+        widget=BS3TextFieldWidget(),
+    )
+    if_exists = SelectField(
+        _("Table Exists"),
+        description=_(
+            "If table exists do one of the following: "
+            "Fail (do nothing), Replace (drop and recreate table) "
+            "or Append (insert data)."
+        ),
+        choices=[
+            ("fail", _("Fail")),
+            ("replace", _("Replace")),
+            ("append", _("Append")),
+        ],
+        validators=[DataRequired()],
+    )
+    header = IntegerField(
+        _("Header Row"),
+        description=_(
+            "Row containing the headers to use as "
+            "column names (0 is first line of data). "
+            "Leave empty if there is no header row."
+        ),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    index_col = IntegerField(
+        _("Index Column"),
+        description=_(
+            "Column to use as the row labels of the "
+            "dataframe. Leave empty if no index column."
+        ),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    mangle_dupe_cols = BooleanField(
+        _("Mangle Duplicate Columns"),
+        description=_('Specify duplicate columns as "X.0, X.1".'),
+    )
+    skipinitialspace = BooleanField(
+        _("Skip Initial Space"), description=_("Skip spaces after delimiter.")
+    )
+    skiprows = IntegerField(
+        _("Skip Rows"),
+        description=_("Number of rows to skip at start of file."),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    nrows = IntegerField(
+        _("Rows to Read"),
+        description=_("Number of rows of file to read."),
+        validators=[Optional(), NumberRange(min=0)],
+        widget=BS3TextFieldWidget(),
+    )
+    skip_blank_lines = BooleanField(
+        _("Skip Blank Lines"),
+        description=_(
+            "Skip blank lines rather than interpreting them " "as NaN values."
+        ),
+    )
+    parse_dates = CommaSeparatedListField(
+        _("Parse Dates"),
+        description=_(
+            "A comma separated list of columns that should be " "parsed as dates."

Review comment:
       Same 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.

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] villebro commented on a change in pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
villebro commented on a change in pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#discussion_r431590674



##########
File path: superset/app.py
##########
@@ -342,6 +347,15 @@ def init_views(self) -> None:
             category_label=__("Sources"),
             category_icon="fa-wrench",
         )
+        appbuilder.add_link(
+            "Upload Excel",
+            label=__("Upload Excel"),
+            href="/exceltodatabaseview/form",
+            icon="fa-upload",
+            category="Sources",
+            category_label=__("Sources"),
+            category_icon="fa-wrench",
+        )

Review comment:
       It would be great if this were conditionally added if any of the `EXCEL_EXTENSION` are present in `ALLOWED_EXTENSIONS`. Something like 
   ```python
   if EXCEL_EXTENSION.intersection(ALLOWED_EXTENSIONS):
       appbuilder.add_link(...)
   ```
   Same for CSV. 

##########
File path: setup.py
##########
@@ -109,6 +109,7 @@ def get_git_sha():
         "sqlalchemy-utils>=0.33.2,<0.36.5",
         "sqlparse>=0.3.0, <0.4",
         "wtforms-json",
+        "xlrd>=1.2.0",

Review comment:
       I assume this dependency is required by Pandas for uploading Excel files? I checked the Github page, and apparently the library is no longer actively maintained:
   
   > PLEASE NOTE: This library currently has no active maintainers. You are advised to use OpenPyXL instead. If you absolutely have to read .xls files, then xlrd will probably still work for you, but please do not submit issues complaining that this library will not read your corrupted or non-standard file. Just because Excel or some other piece of software opens your file does not mean it is a valid xls file.
   https://github.com/python-excel/xlrd
   
   I wonder if we could replace `xlrd` with [OpenPyXL](https://openpyxl.readthedocs.io/en/stable/), which seems to be actively maintained?

##########
File path: superset/config.py
##########
@@ -351,8 +351,9 @@ def _try_json_readsha(filepath, length):  # pylint: disable=unused-argument
 SUPERSET_WEBSERVER_DOMAINS = None
 
 # Allowed format types for upload on Database view
-# TODO: Add processing of other spreadsheet formats (xls, xlsx etc)
-ALLOWED_EXTENSIONS = {"csv", "tsv"}
+EXCEL_EXTENSION = {"xlsx", "xls"}
+CSV_EXTENSION = {"csv", "tsv"}

Review comment:
       Nit: perhaps call these in plural, i.e. `EXCEL_EXTENSIONS` and `CSV_EXTENSIONS`




----------------------------------------------------------------
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] codecov-io edited a comment on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-629848688


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/ea9b7f2dc426cf912f8f5f2b749cc707c9af6964&el=desc) will **decrease** coverage by `0.14%`.
   > The diff coverage is `65.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   66.16%   66.01%   -0.15%     
   ==========================================
     Files         585      585              
     Lines       30427    30443      +16     
     Branches     3152     3152              
   ==========================================
   - Hits        20133    20098      -35     
   - Misses      10113    10164      +51     
     Partials      181      181              
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #javascript | `59.25% <ø> (ø)` | |
   | #python | `70.77% <65.00%> (-0.26%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `85.47% <56.25%> (-1.64%)` | :arrow_down: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.66% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `89.71% <100.00%> (ø)` | |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `58.92% <0.00%> (-21.43%)` | :arrow_down: |
   | [superset/utils/cache.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdXRpbHMvY2FjaGUucHk=) | `45.83% <0.00%> (-20.84%)` | :arrow_down: |
   | [superset/db\_engine\_specs/mysql.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL215c3FsLnB5) | `78.26% <0.00%> (-13.05%)` | :arrow_down: |
   | [superset/views/database/api.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvYXBpLnB5) | `83.90% <0.00%> (-3.45%)` | :arrow_down: |
   | [superset/db\_engine\_specs/postgres.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3Bvc3RncmVzLnB5) | `97.29% <0.00%> (-2.71%)` | :arrow_down: |
   | [superset/models/core.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvbW9kZWxzL2NvcmUucHk=) | `83.77% <0.00%> (-2.36%)` | :arrow_down: |
   | [superset/jinja\_context.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvamluamFfY29udGV4dC5weQ==) | `84.69% <0.00%> (-1.03%)` | :arrow_down: |
   | ... and [4 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [ea9b7f2...c7d389b](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-io commented on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
codecov-io commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-629848688


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/ea9b7f2dc426cf912f8f5f2b749cc707c9af6964&el=desc) will **increase** coverage by `4.60%`.
   > The diff coverage is `65.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   + Coverage   66.16%   70.77%   +4.60%     
   ==========================================
     Files         585      184     -401     
     Lines       30427    17879   -12548     
     Branches     3152        0    -3152     
   ==========================================
   - Hits        20133    12653    -7480     
   + Misses      10113     5226    -4887     
   + Partials      181        0     -181     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #javascript | `?` | |
   | #python | `70.77% <65.00%> (-0.26%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `85.47% <56.25%> (-1.64%)` | :arrow_down: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.66% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `89.71% <100.00%> (ø)` | |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `58.92% <0.00%> (-21.43%)` | :arrow_down: |
   | [superset/utils/cache.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdXRpbHMvY2FjaGUucHk=) | `45.83% <0.00%> (-20.84%)` | :arrow_down: |
   | [superset/db\_engine\_specs/mysql.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL215c3FsLnB5) | `78.26% <0.00%> (-13.05%)` | :arrow_down: |
   | [superset/views/database/api.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvYXBpLnB5) | `83.90% <0.00%> (-3.45%)` | :arrow_down: |
   | [superset/db\_engine\_specs/postgres.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3Bvc3RncmVzLnB5) | `97.29% <0.00%> (-2.71%)` | :arrow_down: |
   | [superset/models/core.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvbW9kZWxzL2NvcmUucHk=) | `83.77% <0.00%> (-2.36%)` | :arrow_down: |
   | [superset/jinja\_context.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvamluamFfY29udGV4dC5weQ==) | `84.69% <0.00%> (-1.03%)` | :arrow_down: |
   | ... and [405 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [ea9b7f2...c7d389b](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/656cdfb86709fa525c1122e359d2e767c6174351&el=desc) will **decrease** coverage by `0.88%`.
   > The diff coverage is `33.33%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.39%   69.51%   -0.89%     
   ==========================================
     Files         585      184     -401     
     Lines       31042    18309   -12733     
     Branches     3277        0    -3277     
   ==========================================
   - Hits        21853    12727    -9126     
   + Misses       9078     5582    -3496     
   + Partials      111        0     -111     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `?` | |
   | #python | `69.51% <33.33%> (-0.48%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `60.55% <12.50%> (-29.19%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `83.88% <25.00%> (-3.03%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.30%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `59.64% <0.00%> (-21.06%)` | :arrow_down: |
   | [superset/utils/cache.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdXRpbHMvY2FjaGUucHk=) | `48.00% <0.00%> (-20.00%)` | :arrow_down: |
   | [superset/db\_engine\_specs/mysql.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL215c3FsLnB5) | `78.26% <0.00%> (-13.05%)` | :arrow_down: |
   | [superset/views/database/validators.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvdmFsaWRhdG9ycy5weQ==) | `78.94% <0.00%> (-5.27%)` | :arrow_down: |
   | [superset/views/database/api.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvYXBpLnB5) | `84.09% <0.00%> (-3.41%)` | :arrow_down: |
   | ... and [412 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [656cdfb...b4bfcd8](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559






----------------------------------------------------------------
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] codecov-commenter commented on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/ea9b7f2dc426cf912f8f5f2b749cc707c9af6964&el=desc) will **decrease** coverage by `6.87%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   66.16%   59.29%   -6.88%     
   ==========================================
     Files         585      399     -186     
     Lines       30427    12564   -17863     
     Branches     3152     3162      +10     
   ==========================================
   - Hits        20133     7450   -12683     
   + Misses      10113     4933    -5180     
     Partials      181      181              
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #javascript | `59.29% <ø> (+0.03%)` | :arrow_up: |
   | #python | `?` | |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...rset-frontend/src/explore/components/SaveModal.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9TYXZlTW9kYWwuanN4) | `91.39% <0.00%> (-1.24%)` | :arrow_down: |
   | [...rontend/src/visualizations/FilterBox/FilterBox.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3Zpc3VhbGl6YXRpb25zL0ZpbHRlckJveC9GaWx0ZXJCb3guanN4) | `5.00% <0.00%> (-0.09%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `49.07% <0.00%> (ø)` | |
   | [superset-frontend/src/explore/constants.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29uc3RhbnRzLmpz) | `100.00% <0.00%> (ø)` | |
   | [superset-frontend/src/setup/setupPlugins.ts](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3NldHVwL3NldHVwUGx1Z2lucy50cw==) | `0.00% <0.00%> (ø)` | |
   | [superset-frontend/src/explore/exploreUtils.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvZXhwbG9yZVV0aWxzLmpz) | `76.78% <0.00%> (ø)` | |
   | [...rset-frontend/src/components/ListView/ListView.tsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvTGlzdFZpZXcvTGlzdFZpZXcudHN4) | `98.07% <0.00%> (ø)` | |
   | [...frontend/src/components/ListView/LegacyFilters.tsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvTGlzdFZpZXcvTGVnYWN5RmlsdGVycy50c3g=) | `75.00% <0.00%> (ø)` | |
   | [...rontend/src/explore/components/PropertiesModal.tsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Qcm9wZXJ0aWVzTW9kYWwudHN4) | `13.23% <0.00%> (ø)` | |
   | [...ntend/src/explore/components/ExploreChartPanel.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9FeHBsb3JlQ2hhcnRQYW5lbC5qc3g=) | `11.11% <0.00%> (ø)` | |
   | ... and [194 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [ea9b7f2...695e131](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] blcksrx removed a comment on pull request #9825: Upload excel

Posted by GitBox <gi...@apache.org>.
blcksrx removed a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-633684843


   @villebro Done!


----------------------------------------------------------------
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] codecov-io edited a comment on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-629848688


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/ea9b7f2dc426cf912f8f5f2b749cc707c9af6964&el=desc) will **increase** coverage by `4.70%`.
   > The diff coverage is `65.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   + Coverage   66.16%   70.87%   +4.70%     
   ==========================================
     Files         585      585              
     Lines       30427    30443      +16     
     Branches     3152     3152              
   ==========================================
   + Hits        20133    21575    +1442     
   + Misses      10113     8757    -1356     
   + Partials      181      111      -70     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `53.61% <ø> (?)` | |
   | #javascript | `59.25% <ø> (ø)` | |
   | #python | `70.99% <65.00%> (-0.04%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `85.47% <56.25%> (-1.64%)` | :arrow_down: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.66% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `89.71% <100.00%> (ø)` | |
   | [superset/viz.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdml6LnB5) | `71.91% <0.00%> (-0.10%)` | :arrow_down: |
   | [...rontend/src/SqlLab/components/AceEditorWrapper.tsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL0FjZUVkaXRvcldyYXBwZXIudHN4) | `56.98% <0.00%> (+1.07%)` | :arrow_up: |
   | [superset-frontend/src/components/EditableTitle.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRWRpdGFibGVUaXRsZS5qc3g=) | `81.69% <0.00%> (+1.40%)` | :arrow_up: |
   | [...perset-frontend/src/components/CopyToClipboard.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ29weVRvQ2xpcGJvYXJkLmpzeA==) | `36.36% <0.00%> (+1.51%)` | :arrow_up: |
   | [...hboard/components/resizable/ResizableContainer.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL3Jlc2l6YWJsZS9SZXNpemFibGVDb250YWluZXIuanN4) | `71.87% <0.00%> (+1.56%)` | :arrow_up: |
   | [...ashboard/components/gridComponents/ChartHolder.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0NoYXJ0SG9sZGVyLmpzeA==) | `81.35% <0.00%> (+1.69%)` | :arrow_up: |
   | [superset-frontend/src/utils/common.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3V0aWxzL2NvbW1vbi5qcw==) | `69.64% <0.00%> (+1.78%)` | :arrow_up: |
   | ... and [139 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [ea9b7f2...c7d389b](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `4.28%`.
   > The diff coverage is `38.88%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   66.93%   -4.29%     
   ==========================================
     Files         585      585              
     Lines       30828    35336    +4508     
     Branches     3237     3513     +276     
   ==========================================
   + Hits        21957    23652    +1695     
   - Misses       8762    11493    +2731     
   - Partials      109      191      +82     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.84% <ø> (+0.45%)` | :arrow_up: |
   | #python | `71.32% <38.88%> (-0.08%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <17.18%> (-27.26%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.44% <25.00%> (-2.77%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.93%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `83.51% <100.00%> (+2.15%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `92.53% <100.00%> (+2.86%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [211 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] cyw233 edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
cyw233 edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-661490394


   Hi @blcksrx and @villebro thanks for bringing this feature to Superset! Today when I first tried this feature it gave me this error: "AttributeError: 'SupersetSecurityManager' object has no attribute 'database_access'",  but when I changed ` security_manager.database_access(database)` to `security_manager.can_access_database(database)` it worked. I don't quite understand why the change works, so could you guys help me with this? Cheers!
   ![Screen Shot 2020-07-21 at 10 25 52 am](https://user-images.githubusercontent.com/49756587/87999093-315f6380-cb3d-11ea-95c8-3be5eacb00f1.png)
   <img width="656" alt="Screen Shot 2020-07-21 at 10 25 09 am" src="https://user-images.githubusercontent.com/49756587/87999099-358b8100-cb3d-11ea-907a-9367a2753d18.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.

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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `1.71%`.
   > The diff coverage is `78.60%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   69.51%   -1.72%     
   ==========================================
     Files         585      184     -401     
     Lines       30828    18308   -12520     
     Branches     3237        0    -3237     
   ==========================================
   - Hits        21957    12726    -9231     
   + Misses       8762     5582    -3180     
   + Partials      109        0     -109     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `?` | |
   | #python | `69.51% <78.60%> (-1.90%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/charts/schemas.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY2hhcnRzL3NjaGVtYXMucHk=) | `100.00% <ø> (ø)` | |
   | [superset/sql\_validators/presto\_db.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvc3FsX3ZhbGlkYXRvcnMvcHJlc3RvX2RiLnB5) | `82.89% <ø> (ø)` | |
   | [superset/views/base\_schemas.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvYmFzZV9zY2hlbWFzLnB5) | `0.00% <0.00%> (ø)` | |
   | [superset/viz\_sip38.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdml6X3NpcDM4LnB5) | `0.00% <0.00%> (ø)` | |
   | [...uperset/utils/dashboard\_filter\_scopes\_converter.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdXRpbHMvZGFzaGJvYXJkX2ZpbHRlcl9zY29wZXNfY29udmVydGVyLnB5) | `34.04% <22.22%> (ø)` | |
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `60.55% <23.28%> (-28.92%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `83.88% <29.41%> (-3.33%)` | :arrow_down: |
   | [superset/jinja\_context.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvamluamFfY29udGV4dC5weQ==) | `80.00% <43.75%> (-5.72%)` | :arrow_down: |
   | [superset/db\_engine\_specs/pinot.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3Bpbm90LnB5) | `67.56% <57.14%> (+9.03%)` | :arrow_up: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.08% <65.71%> (-13.23%)` | :arrow_down: |
   | ... and [452 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] blcksrx commented on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
blcksrx commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-664961215


   > Hi @blcksrx and @villebro thanks for bringing this feature to Superset! Today when I first tried this feature it gave me this error: "AttributeError: 'SupersetSecurityManager' object has no attribute 'database_access'", but when I changed ` security_manager.database_access(database)` to `security_manager.can_access_database(database)` it worked. I don't quite understand why the change works, so could you guys help me with this? Cheers!
   > ![Screen Shot 2020-07-21 at 10 25 52 am](https://user-images.githubusercontent.com/49756587/87999093-315f6380-cb3d-11ea-95c8-3be5eacb00f1.png)
   > <img alt="Screen Shot 2020-07-21 at 10 25 09 am" width="656" src="https://user-images.githubusercontent.com/49756587/87999099-358b8100-cb3d-11ea-907a-9367a2753d18.png">
   
   Hi. it seems, there are some other commits that above my commit that changes the `database_access` to the `can_access_database` and the commiters forgot to change this on my commit


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `1.16%`.
   > The diff coverage is `77.52%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   70.05%   -1.17%     
   ==========================================
     Files         585      585              
     Lines       30828    31158     +330     
     Branches     3237     3277      +40     
   ==========================================
   - Hits        21957    21828     -129     
   - Misses       8762     9213     +451     
   - Partials      109      117       +8     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `53.08% <58.82%> (-0.76%)` | :arrow_down: |
   | #javascript | `59.36% <61.16%> (-0.02%)` | :arrow_down: |
   | #python | `69.74% <78.62%> (-1.67%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...src/SqlLab/components/ExploreCtasResultsButton.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL0V4cGxvcmVDdGFzUmVzdWx0c0J1dHRvbi5qc3g=) | `13.33% <0.00%> (ø)` | |
   | [superset-frontend/src/chart/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L0NoYXJ0LmpzeA==) | `66.66% <0.00%> (ø)` | |
   | [...src/dashboard/components/HeaderActionsDropdown.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0hlYWRlckFjdGlvbnNEcm9wZG93bi5qc3g=) | `79.16% <ø> (ø)` | |
   | [.../src/dashboard/components/gridComponents/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0NoYXJ0LmpzeA==) | `88.76% <0.00%> (+1.12%)` | :arrow_up: |
   | [...ntend/src/dashboard/containers/DashboardHeader.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb250YWluZXJzL0Rhc2hib2FyZEhlYWRlci5qc3g=) | `100.00% <ø> (ø)` | |
   | [...-frontend/src/dashboard/reducers/dashboardState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9kYXNoYm9hcmRTdGF0ZS5qcw==) | `81.81% <ø> (ø)` | |
   | [...frontend/src/dashboard/reducers/getInitialState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9nZXRJbml0aWFsU3RhdGUuanM=) | `68.53% <ø> (ø)` | |
   | [...erset-frontend/src/datasource/DatasourceEditor.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2RhdGFzb3VyY2UvRGF0YXNvdXJjZUVkaXRvci5qc3g=) | `61.25% <ø> (ø)` | |
   | [...rontend/src/explore/components/PropertiesModal.tsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9Qcm9wZXJ0aWVzTW9kYWwudHN4) | `16.66% <0.00%> (ø)` | |
   | [...ontend/src/explore/components/QueryAndSaveBtns.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9RdWVyeUFuZFNhdmVCdG5zLmpzeA==) | `90.00% <ø> (ø)` | |
   | ... and [120 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559






----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/656cdfb86709fa525c1122e359d2e767c6174351&el=desc) will **decrease** coverage by `4.96%`.
   > The diff coverage is `33.33%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.39%   65.43%   -4.97%     
   ==========================================
     Files         585      585              
     Lines       31042    31149     +107     
     Branches     3277     3277              
   ==========================================
   - Hits        21853    20383    -1470     
   - Misses       9078    10585    +1507     
   - Partials      111      181      +70     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <ø> (ø)` | |
   | #python | `69.69% <33.33%> (-0.30%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <12.50%> (-27.53%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.16% <25.00%> (-2.76%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.30%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [149 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [656cdfb...b4bfcd8](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `4.29%`.
   > The diff coverage is `38.88%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   66.92%   -4.30%     
   ==========================================
     Files         585      585              
     Lines       30828    35339    +4511     
     Branches     3237     3513     +276     
   ==========================================
   + Hits        21957    23652    +1695     
   - Misses       8762    11496    +2734     
   - Partials      109      191      +82     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.84% <ø> (+0.45%)` | :arrow_up: |
   | #python | `71.31% <38.88%> (-0.09%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <17.18%> (-27.26%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.44% <25.00%> (-2.77%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.93%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `83.51% <100.00%> (+2.15%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `92.53% <100.00%> (+2.86%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [211 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/656cdfb86709fa525c1122e359d2e767c6174351&el=desc) will **decrease** coverage by `4.91%`.
   > The diff coverage is `33.33%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.39%   65.47%   -4.92%     
   ==========================================
     Files         585      585              
     Lines       31042    31149     +107     
     Branches     3277     3277              
   ==========================================
   - Hits        21853    20396    -1457     
   - Misses       9078    10572    +1494     
   - Partials      111      181      +70     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <ø> (ø)` | |
   | #python | `69.76% <33.33%> (-0.23%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <12.50%> (-27.53%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.16% <25.00%> (-2.76%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.30%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [145 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [656cdfb...b4bfcd8](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] cyw233 edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
cyw233 edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-661490394


   Hi @blcksrx and @villebro thanks for bringing this feature to Superset! Today when I first tried this feature it gave me this error: "AttributeError: 'SupersetSecurityManager' object has no attribute 'database_access'",  but when I changed ` security_manager.database_access(database)` to `security_manager.can_access_database(database)` it worked. I don't not quite understand why the change works, so could you guys help me with this? Cheers!
   ![Screen Shot 2020-07-21 at 10 25 52 am](https://user-images.githubusercontent.com/49756587/87999093-315f6380-cb3d-11ea-95c8-3be5eacb00f1.png)
   <img width="656" alt="Screen Shot 2020-07-21 at 10 25 09 am" src="https://user-images.githubusercontent.com/49756587/87999099-358b8100-cb3d-11ea-907a-9367a2753d18.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.

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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `5.78%`.
   > The diff coverage is `75.76%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   65.43%   -5.79%     
   ==========================================
     Files         585      585              
     Lines       30828    31148     +320     
     Branches     3237     3277      +40     
   ==========================================
   - Hits        21957    20382    -1575     
   - Misses       8762    10585    +1823     
   - Partials      109      181      +72     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <61.16%> (-0.02%)` | :arrow_down: |
   | #python | `69.69% <78.60%> (-1.72%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...src/SqlLab/components/ExploreCtasResultsButton.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL0V4cGxvcmVDdGFzUmVzdWx0c0J1dHRvbi5qc3g=) | `13.33% <0.00%> (ø)` | |
   | [superset-frontend/src/chart/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L0NoYXJ0LmpzeA==) | `10.41% <0.00%> (-56.25%)` | :arrow_down: |
   | [...src/dashboard/components/HeaderActionsDropdown.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0hlYWRlckFjdGlvbnNEcm9wZG93bi5qc3g=) | `70.83% <ø> (-8.34%)` | :arrow_down: |
   | [...et-frontend/src/dashboard/components/SaveModal.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL1NhdmVNb2RhbC5qc3g=) | `40.90% <0.00%> (-42.02%)` | :arrow_down: |
   | [.../src/dashboard/components/gridComponents/Chart.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0NoYXJ0LmpzeA==) | `67.41% <0.00%> (-20.23%)` | :arrow_down: |
   | [...ntend/src/dashboard/containers/DashboardHeader.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb250YWluZXJzL0Rhc2hib2FyZEhlYWRlci5qc3g=) | `100.00% <ø> (ø)` | |
   | [...-frontend/src/dashboard/reducers/dashboardState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9kYXNoYm9hcmRTdGF0ZS5qcw==) | `76.36% <ø> (-5.46%)` | :arrow_down: |
   | [...frontend/src/dashboard/reducers/getInitialState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9yZWR1Y2Vycy9nZXRJbml0aWFsU3RhdGUuanM=) | `0.00% <ø> (-68.54%)` | :arrow_down: |
   | [...erset-frontend/src/datasource/DatasourceEditor.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2RhdGFzb3VyY2UvRGF0YXNvdXJjZUVkaXRvci5qc3g=) | `61.25% <ø> (ø)` | |
   | [...tend/src/explore/components/DisplayQueryButton.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvY29tcG9uZW50cy9EaXNwbGF5UXVlcnlCdXR0b24uanN4) | `50.00% <0.00%> (-19.34%)` | :arrow_down: |
   | ... and [258 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/656cdfb86709fa525c1122e359d2e767c6174351&el=desc) will **decrease** coverage by `0.14%`.
   > The diff coverage is `33.33%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.39%   70.25%   -0.15%     
   ==========================================
     Files         585      585              
     Lines       31042    31158     +116     
     Branches     3277     3277              
   ==========================================
   + Hits        21853    21889      +36     
   - Misses       9078     9157      +79     
   - Partials      111      112       +1     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `53.90% <ø> (+0.04%)` | :arrow_up: |
   | #javascript | `59.36% <ø> (ø)` | |
   | #python | `69.74% <33.33%> (-0.25%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <12.50%> (-27.53%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.16% <25.00%> (-2.76%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.30%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/actions/sqlLab.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9hY3Rpb25zL3NxbExhYi5qcw==) | `66.15% <0.00%> (-0.66%)` | :arrow_down: |
   | [...rontend/src/SqlLab/components/QueryAutoRefresh.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1F1ZXJ5QXV0b1JlZnJlc2guanN4) | `72.72% <0.00%> (+6.81%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [656cdfb...b4bfcd8](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/763b38591c551834b416f929464eef25ced4848d&el=desc) will **decrease** coverage by `0.15%`.
   > The diff coverage is `36.92%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.49%   70.33%   -0.16%     
   ==========================================
     Files         594      594              
     Lines       31354    31473     +119     
     Branches     3206     3206              
   ==========================================
   + Hits        22104    22138      +34     
   - Misses       9134     9219      +85     
     Partials      116      116              
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `53.47% <ø> (-0.08%)` | :arrow_down: |
   | #javascript | `59.69% <ø> (ø)` | |
   | #python | `70.00% <36.92%> (-0.26%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.01% <20.00%> (-27.74%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `83.98% <25.00%> (-2.78%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.60% <80.00%> (-0.22%)` | :arrow_down: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `90.07% <100.00%> (+0.07%)` | :arrow_up: |
   | [...rontend/src/SqlLab/components/QueryAutoRefresh.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1F1ZXJ5QXV0b1JlZnJlc2guanN4) | `65.90% <0.00%> (-6.82%)` | :arrow_down: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [763b385...698fd49](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/656cdfb86709fa525c1122e359d2e767c6174351&el=desc) will **decrease** coverage by `0.88%`.
   > The diff coverage is `32.77%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.39%   69.51%   -0.89%     
   ==========================================
     Files         585      184     -401     
     Lines       31042    18308   -12734     
     Branches     3277        0    -3277     
   ==========================================
   - Hits        21853    12726    -9127     
   + Misses       9078     5582    -3496     
   + Partials      111        0     -111     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `?` | |
   | #python | `69.51% <32.77%> (-0.48%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `60.55% <12.50%> (-29.19%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `83.88% <25.00%> (-3.03%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.08% <60.00%> (-12.62%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.30%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `59.64% <0.00%> (-21.06%)` | :arrow_down: |
   | [superset/utils/cache.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdXRpbHMvY2FjaGUucHk=) | `48.00% <0.00%> (-20.00%)` | :arrow_down: |
   | [superset/db\_engine\_specs/mysql.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL215c3FsLnB5) | `78.26% <0.00%> (-13.05%)` | :arrow_down: |
   | [superset/views/database/validators.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvdmFsaWRhdG9ycy5weQ==) | `78.94% <0.00%> (-5.27%)` | :arrow_down: |
   | [superset/views/database/api.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvYXBpLnB5) | `84.09% <0.00%> (-3.41%)` | :arrow_down: |
   | ... and [412 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [656cdfb...b4bfcd8](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/b296a0f250979bf70e9cb2a2a2b48fd10038a363&el=desc) will **decrease** coverage by `5.83%`.
   > The diff coverage is `32.20%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.31%   65.47%   -5.84%     
   ==========================================
     Files         585      585              
     Lines       30887    31149     +262     
     Branches     3236     3277      +41     
   ==========================================
   - Hits        22027    20396    -1631     
   - Misses       8750    10572    +1822     
   - Partials      110      181      +71     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <ø> (-0.05%)` | :arrow_down: |
   | #python | `69.76% <32.20%> (-1.78%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <12.50%> (-27.53%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.16% <25.00%> (-3.05%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.46%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.24%)` | :arrow_up: |
   | [superset/examples/countries.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZXhhbXBsZXMvY291bnRyaWVzLnB5) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [188 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [b296a0f...d21a890](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] villebro commented on a change in pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
villebro commented on a change in pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#discussion_r446766163



##########
File path: UPDATING.md
##########
@@ -23,6 +23,9 @@ assists people when migrating to a new version.
 
 ## Next
 
+* [9825](https://github.com/apache/incubator-superset/pull/9825):  Add Excel sheet upload

Review comment:
       Perhaps add a slightly more verbose comment to say how it can be enabled, like "Support for Excel sheet upload added. To enable support, install Superset with the optional dependency `excel`."

##########
File path: UPDATING.md
##########
@@ -23,6 +23,9 @@ assists people when migrating to a new version.
 
 ## Next
 
+* [9825](https://github.com/apache/incubator-superset/pull/9825):  Add Excel sheet upload
+
+* [10034](https://github.com/apache/incubator-superset/pull/10034): Deprecates the public security manager  `assert_datasource_permission`, `assert_query_context_permission`, `assert_viz_permission`, and `rejected_tables` methods with the `raise_for_access` method which also handles assertion logic for SQL tables.

Review comment:
       This shouldn't be here (see two lines below).




----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `4.29%`.
   > The diff coverage is `38.88%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   66.92%   -4.30%     
   ==========================================
     Files         585      585              
     Lines       30828    35336    +4508     
     Branches     3237     3513     +276     
   ==========================================
   + Hits        21957    23650    +1693     
   - Misses       8762    11495    +2733     
   - Partials      109      191      +82     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.84% <ø> (+0.45%)` | :arrow_up: |
   | #python | `71.32% <38.88%> (-0.09%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <17.18%> (-27.26%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.44% <25.00%> (-2.77%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.93%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `83.51% <100.00%> (+2.15%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `92.53% <100.00%> (+2.86%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [211 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] villebro merged pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
villebro merged pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825


   


----------------------------------------------------------------
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] villebro commented on a change in pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
villebro commented on a change in pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#discussion_r447425311



##########
File path: UPDATING.md
##########
@@ -23,14 +23,16 @@ assists people when migrating to a new version.
 
 ## Next
 
-* [10130](https://github.com/apache/incubator-superset/pull/10130): a change which deprecates the `dbs.perm` column in favor of SQLAlchemy [hybird attributes](https://docs.sqlalchemy.org/en/13/orm/extensions/hybrid.html).
+* [9825](https://github.com/apache/incubator-superset/pull/9825):  Support for Excel sheet upload added. To enable support, install Superset with the optional dependency `excel`
+
+* [10034](https://github.com/apache/incubator-superset/pull/10034): Deprecates the public security manager  `assert_datasource_permission`, `assert_query_context_permission`, `assert_viz_permission`, and `rejected_tables` methods with the `raise_for_access` method which also handles assertion logic for SQL tables.
 
 * [10034](https://github.com/apache/incubator-superset/pull/10034): a change which deprecates the public security manager  `assert_datasource_permission`, `assert_query_context_permission`, `assert_viz_permission`, and `rejected_tables` methods with the `raise_for_access` method which also handles assertion logic for SQL tables.
 
-* [10031](https://github.com/apache/incubator-superset/pull/10030): a change which renames the following public security manager methods: `can_access_datasource` to `can_access_table`, `all_datasource_access` to `can_access_all_datasources`, `all_database_access` to `can_access_all_databases`, `database_access` to `can_access_database`, `schema_access` to `can_access_schema`, and
+* [10031](https://github.com/apache/incubator-superset/pull/10030): Renames the following public security manager methods: `can_access_datasource` to `can_access_table`, `all_datasource_access` to `can_access_all_datasources`, `all_database_access` to `can_access_all_databases`, `database_access` to `can_access_database`, `schema_access` to `can_access_schema`, and
 `datasource_access` to `can_access_datasource`. Regrettably it is not viable to provide aliases for the deprecated methods as this would result in a name clash. Finally the `can_access_table` (previously `can_access_database`) method signature has changed, i.e., the optional `schema` argument no longer exists.
 
-* [10030](https://github.com/apache/incubator-superset/pull/10030): a change which renames the public security manager `schemas_accessible_by_user` method to `get_schemas_accessible_by_user`.
+* [10030](https://github.com/apache/incubator-superset/pull/10030): Renames the public security manager `schemas_accessible_by_user` method to `get_schemas_accessible_by_user`.

Review comment:
       There still seems to be changes that shouldn't be 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.

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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/656cdfb86709fa525c1122e359d2e767c6174351&el=desc) will **decrease** coverage by `0.14%`.
   > The diff coverage is `33.33%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   70.39%   70.25%   -0.15%     
   ==========================================
     Files         585      585              
     Lines       31042    31158     +116     
     Branches     3277     3277              
   ==========================================
   + Hits        21853    21889      +36     
   - Misses       9078     9157      +79     
   - Partials      111      112       +1     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `53.90% <ø> (+0.04%)` | :arrow_up: |
   | #javascript | `59.36% <ø> (ø)` | |
   | #python | `69.74% <33.33%> (-0.25%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <12.50%> (-27.53%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.16% <25.00%> (-2.76%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.30%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/actions/sqlLab.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9hY3Rpb25zL3NxbExhYi5qcw==) | `66.15% <0.00%> (-0.66%)` | :arrow_down: |
   | [...rontend/src/SqlLab/components/QueryAutoRefresh.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1F1ZXJ5QXV0b1JlZnJlc2guanN4) | `72.72% <0.00%> (+6.81%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [656cdfb...b4bfcd8](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `0.28%`.
   > The diff coverage is `38.88%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   70.93%   -0.29%     
   ==========================================
     Files         585      585              
     Lines       30828    35339    +4511     
     Branches     3237     3513     +276     
   ==========================================
   + Hits        21957    25069    +3112     
   - Misses       8762    10145    +1383     
   - Partials      109      125      +16     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `53.07% <ø> (-0.77%)` | :arrow_down: |
   | #javascript | `59.84% <ø> (+0.45%)` | :arrow_up: |
   | #python | `71.31% <38.88%> (-0.09%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <17.18%> (-27.26%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.44% <25.00%> (-2.77%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.93%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `83.51% <100.00%> (+2.15%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `92.53% <100.00%> (+2.86%)` | :arrow_up: |
   | [...et-frontend/src/dashboard/components/SaveModal.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL1NhdmVNb2RhbC5qc3g=) | `65.15% <0.00%> (-17.78%)` | :arrow_down: |
   | [...et-frontend/src/SqlLab/reducers/getInitialState.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9yZWR1Y2Vycy9nZXRJbml0aWFsU3RhdGUuanM=) | `33.33% <0.00%> (-16.67%)` | :arrow_down: |
   | [superset-frontend/src/reduxUtils.ts](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3JlZHV4VXRpbHMudHM=) | `70.88% <0.00%> (-8.87%)` | :arrow_down: |
   | [.../src/dashboard/components/RefreshIntervalModal.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL1JlZnJlc2hJbnRlcnZhbE1vZGFsLmpzeA==) | `92.30% <0.00%> (-7.70%)` | :arrow_down: |
   | [...rontend/src/SqlLab/components/QueryAutoRefresh.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1F1ZXJ5QXV0b1JlZnJlc2guanN4) | `65.90% <0.00%> (-6.82%)` | :arrow_down: |
   | ... and [91 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `0.11%`.
   > The diff coverage is `38.88%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   71.11%   -0.12%     
   ==========================================
     Files         585      585              
     Lines       30828    35339    +4511     
     Branches     3237     3513     +276     
   ==========================================
   + Hits        21957    25131    +3174     
   - Misses       8762    10088    +1326     
   - Partials      109      120      +11     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `53.90% <ø> (+0.05%)` | :arrow_up: |
   | #javascript | `59.84% <ø> (+0.45%)` | :arrow_up: |
   | #python | `71.31% <38.88%> (-0.09%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <17.18%> (-27.26%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.44% <25.00%> (-2.77%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.93%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `83.51% <100.00%> (+2.15%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `92.53% <100.00%> (+2.86%)` | :arrow_up: |
   | [...et-frontend/src/dashboard/components/SaveModal.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL1NhdmVNb2RhbC5qc3g=) | `65.15% <0.00%> (-17.78%)` | :arrow_down: |
   | [.../src/dashboard/components/RefreshIntervalModal.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL1JlZnJlc2hJbnRlcnZhbE1vZGFsLmpzeA==) | `92.30% <0.00%> (-7.70%)` | :arrow_down: |
   | [superset/jinja\_context.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvamluamFfY29udGV4dC5weQ==) | `81.19% <0.00%> (-4.52%)` | :arrow_down: |
   | [superset-frontend/src/explore/exploreUtils.js](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvZXhwbG9yZVV0aWxzLmpz) | `79.05% <0.00%> (-3.98%)` | :arrow_down: |
   | [...rontend/src/visualizations/FilterBox/FilterBox.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3Zpc3VhbGl6YXRpb25zL0ZpbHRlckJveC9GaWx0ZXJCb3guanN4) | `66.90% <0.00%> (-3.94%)` | :arrow_down: |
   | ... and [82 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] villebro commented on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
villebro commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630732767


   @blcksrx at least the following files are involved in the CSV upload feature:
   - `superset/app.py`: here the menu item is defined.
   - `superset/views/database/forms.py`: here the actual form is defined.
   - `superset/views/database/views.py`: here the view is defined.
   
   I think Uploading of Excel files probably needs to happen via a dedicated dialog, as many of the CSV fields are not applicable for Excel. Having said that, many are, hence it might make sense to have a parent form with the global options (fail, replace, append etc), and then only add/override the ones that are specific to the format in question.


----------------------------------------------------------------
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] villebro commented on a change in pull request #9825: feat: Add Excel sheet upload

Posted by GitBox <gi...@apache.org>.
villebro commented on a change in pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#discussion_r446026978



##########
File path: requirements.txt
##########
@@ -45,8 +44,7 @@ geographiclib==1.50       # via geopy
 geopy==1.22.0             # via apache-superset (setup.py)
 gunicorn==20.0.4          # via apache-superset (setup.py)
 humanize==2.4.0           # via apache-superset (setup.py)
-idna-ssl==1.1.0           # via aiohttp
-idna==2.9                 # via email-validator, idna-ssl, yarl
+idna==2.9                 # via email-validator

Review comment:
       There seem to be changes to this file that shouldn't be here. make sure you're rebuilding this from a rebased master.




----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/9edfc8f68dbc6f5c1c996e7c1fe3b84e6561a068&el=desc) will **decrease** coverage by `4.29%`.
   > The diff coverage is `38.88%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.22%   66.93%   -4.30%     
   ==========================================
     Files         585      585              
     Lines       30828    34555    +3727     
     Branches     3237     3236       -1     
   ==========================================
   + Hits        21957    23128    +1171     
   - Misses       8762    11248    +2486     
   - Partials      109      179      +70     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.41% <ø> (+0.02%)` | :arrow_up: |
   | #python | `71.32% <38.88%> (-0.09%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <17.18%> (-27.26%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.44% <25.00%> (-2.77%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.93%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `83.51% <100.00%> (+2.15%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `92.53% <100.00%> (+2.86%)` | :arrow_up: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [201 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [9edfc8f...b3058c9](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] blcksrx commented on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
blcksrx commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-629848741


   I need your help guys. With this PR the user is able to upload an `Excel` file in addition to the `CSV` files. but I don't know how to change it on the UI! I mean I don't know should I create a page for that like `Upload excel file` or should I handle uploading files e.g CSV and Excel only on the 1 page?
   What about `labels` and existing translation! I only know English and Persian! and other questions :))
   
   @villebro 


----------------------------------------------------------------
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] blcksrx commented on pull request #9825: Upload excel

Posted by GitBox <gi...@apache.org>.
blcksrx commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-633684843


   @villebro Done!


----------------------------------------------------------------
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] codecov-io edited a comment on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-629848688


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/ea9b7f2dc426cf912f8f5f2b749cc707c9af6964&el=desc) will **increase** coverage by `4.69%`.
   > The diff coverage is `65.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   + Coverage   66.16%   70.86%   +4.69%     
   ==========================================
     Files         585      585              
     Lines       30427    30443      +16     
     Branches     3152     3152              
   ==========================================
   + Hits        20133    21574    +1441     
   + Misses      10113     8758    -1355     
   + Partials      181      111      -70     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `53.61% <ø> (?)` | |
   | #javascript | `59.25% <ø> (ø)` | |
   | #python | `70.99% <65.00%> (-0.04%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `85.47% <56.25%> (-1.64%)` | :arrow_down: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.66% <100.00%> (+0.08%)` | :arrow_up: |
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `89.71% <100.00%> (ø)` | |
   | [superset/db\_engine\_specs/postgres.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3Bvc3RncmVzLnB5) | `97.29% <0.00%> (-2.71%)` | :arrow_down: |
   | [superset/viz.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdml6LnB5) | `71.91% <0.00%> (-0.10%)` | :arrow_down: |
   | [...rontend/src/SqlLab/components/AceEditorWrapper.tsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL0FjZUVkaXRvcldyYXBwZXIudHN4) | `56.98% <0.00%> (+1.07%)` | :arrow_up: |
   | [superset-frontend/src/components/EditableTitle.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRWRpdGFibGVUaXRsZS5qc3g=) | `81.69% <0.00%> (+1.40%)` | :arrow_up: |
   | [...perset-frontend/src/components/CopyToClipboard.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ29weVRvQ2xpcGJvYXJkLmpzeA==) | `36.36% <0.00%> (+1.51%)` | :arrow_up: |
   | [...hboard/components/resizable/ResizableContainer.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL3Jlc2l6YWJsZS9SZXNpemFibGVDb250YWluZXIuanN4) | `71.87% <0.00%> (+1.56%)` | :arrow_up: |
   | [...ashboard/components/gridComponents/ChartHolder.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL0NoYXJ0SG9sZGVyLmpzeA==) | `81.35% <0.00%> (+1.69%)` | :arrow_up: |
   | ... and [140 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [ea9b7f2...c7d389b](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] villebro commented on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
villebro commented on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-633403714


   @blcksrx I think we can assume CSV and Excel importing being equal here, so no need to add a new column in table metadata for that. We should perhaps change the name to "allow upload" or similar. But I don't think that needs to be done now.


----------------------------------------------------------------
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] codecov-commenter edited a comment on pull request #9825: feat: Add Excel sheet upload feature

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-630726559


   # [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=h1) Report
   > Merging [#9825](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=desc) into [master](https://codecov.io/gh/apache/incubator-superset/commit/b296a0f250979bf70e9cb2a2a2b48fd10038a363&el=desc) will **decrease** coverage by `5.84%`.
   > The diff coverage is `32.20%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-superset/pull/9825/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #9825      +/-   ##
   ==========================================
   - Coverage   71.31%   65.46%   -5.85%     
   ==========================================
     Files         585      585              
     Lines       30887    31158     +271     
     Branches     3236     3277      +41     
   ==========================================
   - Hits        22027    20398    -1629     
   - Misses       8750    10579    +1829     
   - Partials      110      181      +71     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | #cypress | `?` | |
   | #javascript | `59.36% <ø> (-0.05%)` | :arrow_down: |
   | #python | `69.74% <32.20%> (-1.80%)` | :arrow_down: |
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/views/database/views.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2Uvdmlld3MucHk=) | `62.22% <12.50%> (-27.53%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `84.16% <25.00%> (-3.05%)` | :arrow_down: |
   | [superset/views/database/forms.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvZm9ybXMucHk=) | `78.37% <61.29%> (-12.32%)` | :arrow_down: |
   | [superset/app.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvYXBwLnB5) | `81.81% <100.00%> (+0.46%)` | :arrow_up: |
   | [superset/config.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29uZmlnLnB5) | `89.91% <100.00%> (+0.24%)` | :arrow_up: |
   | [superset/examples/countries.py](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZXhhbXBsZXMvY291bnRyaWVzLnB5) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/index.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9pbmRleC5qc3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [187 more](https://codecov.io/gh/apache/incubator-superset/pull/9825/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=footer). Last update [b296a0f...d21a890](https://codecov.io/gh/apache/incubator-superset/pull/9825?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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] blcksrx edited a comment on pull request #9825: WIP: Upload excel

Posted by GitBox <gi...@apache.org>.
blcksrx edited a comment on pull request #9825:
URL: https://github.com/apache/incubator-superset/pull/9825#issuecomment-633433803


   @villebro I got it. thanks


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