Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: error_parsing #21946

Merged
merged 2 commits into from
Oct 28, 2022
Merged

fix: error_parsing #21946

merged 2 commits into from
Oct 28, 2022

Conversation

AAfghahi
Copy link
Member

SUMMARY

There was SQL information in the logs that we were sending, this fixes the error message to make sure that it does not happen.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented Oct 26, 2022

Codecov Report

Merging #21946 (998e1e0) into master (a88dfe2) will increase coverage by 1.46%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #21946      +/-   ##
==========================================
+ Coverage   65.71%   67.17%   +1.46%     
==========================================
  Files        1807     1807              
  Lines       69202    69729     +527     
  Branches     7402     7402              
==========================================
+ Hits        45474    46841    +1367     
+ Misses      21817    20977     -840     
  Partials     1911     1911              
Flag Coverage Δ
hive 53.11% <ø> (+0.19%) ⬆️
javascript 53.38% <ø> (ø)
mysql 78.62% <ø> (+0.25%) ⬆️
postgres 78.68% <ø> (+0.24%) ⬆️
presto 53.01% <ø> (+0.19%) ⬆️
python 81.71% <ø> (+2.80%) ⬆️
sqlite 77.15% <ø> (+0.23%) ⬆️
unit 51.39% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset/reports/commands/execute.py 92.28% <ø> (+0.29%) ⬆️
superset/utils/core.py 90.31% <ø> (+2.16%) ⬆️
superset/databases/commands/test_connection.py 98.19% <0.00%> (-0.44%) ⬇️
superset/config.py 91.64% <0.00%> (-0.05%) ⬇️
superset/connectors/sqla/models.py 91.01% <0.00%> (+0.17%) ⬆️
superset/sql_lab.py 82.12% <0.00%> (+0.38%) ⬆️
superset/views/base_api.py 98.44% <0.00%> (+0.38%) ⬆️
superset/db_engine_specs/presto.py 87.78% <0.00%> (+0.40%) ⬆️
superset/databases/commands/create.py 92.95% <0.00%> (+1.12%) ⬆️
superset/db_engine_specs/__init__.py 85.71% <0.00%> (+1.19%) ⬆️
... and 54 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -16,6 +16,7 @@
# under the License.
import json
import logging
import re

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we using it somehow in this file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no this was leftover! Thank you!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Member

@Antonio-RiveroMartnez Antonio-RiveroMartnez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@AAfghahi AAfghahi merged commit 33fc578 into master Oct 28, 2022
jinghua-qa pushed a commit to preset-io/superset that referenced this pull request Oct 31, 2022
(cherry picked from commit 33fc578)
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.1.0 and removed 🚢 2.1.3 labels Mar 13, 2024
@mistercrunch mistercrunch deleted the arashPhillip/fixError branch March 26, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels preset:2022.43 size/XS 🚢 2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants