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 share state behavior in ThriftServer #437

Merged
merged 2 commits into from
Sep 5, 2018
Merged

Conversation

ilovesoup
Copy link
Contributor

@ilovesoup ilovesoup commented Sep 5, 2018

Before fix, thriftserver will not properly pass in shareState object among different sessions. This makes session scope object not shared. If user open one beeline client, it will not see the global_temp views if spark's singleSession is set to false. This is not by-design behavior of spark itself.


This change is Reviewable

Copy link
Contributor

@birdstorm birdstorm left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@1e54f1f). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #437   +/-   ##
=========================================
  Coverage          ?   54.06%           
=========================================
  Files             ?      128           
  Lines             ?     5996           
  Branches          ?      893           
=========================================
  Hits              ?     3242           
  Misses            ?     2456           
  Partials          ?      298

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 1e54f1f...fdc4e1a. Read the comment docs.

@birdstorm birdstorm merged commit 88a73ec into master Sep 5, 2018
@birdstorm birdstorm deleted the fix_share_state branch September 5, 2018 10:11
wfxxh pushed a commit to wanfangdata/tispark that referenced this pull request Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants