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: Fixed bug for issue #9967 #10269

Merged
merged 2 commits into from
Jul 9, 2020
Merged

fix: Fixed bug for issue #9967 #10269

merged 2 commits into from
Jul 9, 2020

Conversation

Nj-kol
Copy link
Contributor

@Nj-kol Nj-kol commented Jul 9, 2020

SUMMARY

The issue was first observed in #7270
However, in the subsequent releases, the variable time_grain_functions was renamed to _time_grain_expressions. The implementation was also left out for hive. So time functions were not renamed which were specific to Hive. This was causing the group by functions in the Charts to malfunction

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before
image

After
image

TEST PLAN

ADDITIONAL INFORMATION

@Nj-kol
Copy link
Contributor Author

Nj-kol commented Jul 9, 2020

@villebro Created this new PR. Could you please review this? Also not sure why the CI is still failing, I installed the git-hook : https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#git-hooks

@villebro
Copy link
Member

villebro commented Jul 9, 2020

Can you try to undo the change to setup.cfg and do a commit like this git commit -m "lint" --no-verify and then push that.

@codecov-commenter
Copy link

Codecov Report

Merging #10269 into master will decrease coverage by 10.94%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #10269       +/-   ##
===========================================
- Coverage   70.26%   59.31%   -10.95%     
===========================================
  Files         598      404      -194     
  Lines       32011    13148    -18863     
  Branches     3239     3239               
===========================================
- Hits        22491     7799    -14692     
+ Misses       9417     5168     -4249     
- Partials      103      181       +78     
Flag Coverage Δ
#cypress ?
#javascript 59.31% <ø> (ø)
#python ?
Impacted Files Coverage Δ
superset-frontend/src/SqlLab/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/SqlLab/index.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/dashboard/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/index.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/dashboard/index.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupColors.js 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/chart/ChartContainer.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupFormatters.js 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/reducers/index.js 0.00% <0.00%> (-100.00%) ⬇️
... and 330 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6224edd...f11c30c. Read the comment docs.

@Nj-kol
Copy link
Contributor Author

Nj-kol commented Jul 9, 2020

Can you try to undo the change to setup.cfg and do a commit like this git commit -m "lint" --no-verify and then push that.

Worked like a charm! Thanks. I hope this should do the trick, request you to review once

@villebro
Copy link
Member

villebro commented Jul 9, 2020

Great, thanks for your perseverence @Nj-kol ! 👍

@villebro villebro merged commit 300b2bb into apache:master Jul 9, 2020
@villebro villebro added the v0.37 label Jul 9, 2020
@Nj-kol
Copy link
Contributor Author

Nj-kol commented Jul 9, 2020

Great, thanks for your perseverence @Nj-kol ! 👍

@villebro A big thanks to you and the community for your patience :)

Hope to contribute a lot more in the coming days!

One question - How do I add my company name to the list of superset users?

@villebro
Copy link
Member

villebro commented Jul 9, 2020

Oh, that's easy, just open a single line PR on README.md 🙂

@Nj-kol Nj-kol deleted the bugfix/#9967 branch July 9, 2020 13:24
@nielsenrechia
Copy link

Hello Guys, thanks for the solution. Just to confirm, it will be included on the version 0.37, right?

Thanks

@villebro
Copy link
Member

villebro commented Jul 9, 2020

@nielsenrechia Yeah, gonna be in 0.37.0 👍

auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
* Added formatted file setup.cfg

* lint

Co-authored-by: Nilanjan1.Sarkar <[email protected]>
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.37.0 labels Mar 12, 2024
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 size/S v0.37 🚢 0.37.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

invalid function date_trunc when connecting to hive -- related to issue #7270
5 participants