Skip to content

Conversation

jingchen2222
Copy link
Collaborator

@jingchen2222 jingchen2222 commented Dec 9, 2021

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    feature

  • What is the current behaviour? (You can also link to an open issue here)
    resolve Eliminate the concept of performance-sensitive mode for users #796

      1. eliminate set performance sensitive = true|false in cli
      1. remove related API in C++ SDK and java SDK
      1. add enable_request_performance_sensitive in engine option, for ddl_gen to get a request physical plan performance-insensitive
      1. fix yaml case, online batch queries can be executed performance insensitive
  • What is the new behaviour (if this is a feature change)?

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

1. eliminate set performance sensitive = true|false in cli
2. remove related API in C++ sdk and java sdk
3. add enable_request_performance_sensitive in engine option, for ddl gen to get a request physical plan performance-insensitive
4. fix yaml case, online batch queries can be executed performance insensitive
@jingchen2222 jingchen2222 added the enhancement New feature or request label Dec 9, 2021
@jingchen2222 jingchen2222 added this to the v0.4 milestone Dec 9, 2021
@jingchen2222 jingchen2222 self-assigned this Dec 9, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2021

Linux Test Report

       6 files       46 suites   3m 55s ⏱️
4 075 tests 4 075 ✔️ 0 💤 0
4 081 runs  4 081 ✔️ 0 💤 0

Results for commit 411f4de.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2021

HybridSE Linux Test Report

       65 files       228 suites   4m 55s ⏱️
18 975 tests 18 975 ✔️ 0 💤 0

Results for commit 411f4de.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2021

HybridSE Mac Test Report

       65 files       228 suites   6m 8s ⏱️
18 975 tests 18 975 ✔️ 0 💤 0

Results for commit 411f4de.

♻️ This comment has been updated with latest results.

…minate_performance_sensitive

# Conflicts:
#	hybridse/include/vm/physical_op.h
#	hybridse/src/vm/physical_op.cc
#	hybridse/src/vm/transform.cc
#	hybridse/src/vm/transform_test.cc
@codecov
Copy link

codecov bot commented Dec 14, 2021

Codecov Report

Merging #877 (411f4de) into main (d2c7ad3) will increase coverage by 0.03%.
The diff coverage is 94.87%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #877      +/-   ##
============================================
+ Coverage     42.36%   42.40%   +0.03%     
  Complexity      219      219              
============================================
  Files           572      572              
  Lines        105529   105600      +71     
  Branches        946      946              
============================================
+ Hits          44703    44775      +72     
+ Misses        60682    60681       -1     
  Partials        144      144              
Impacted Files Coverage Δ
hybridse/include/vm/engine_context.h 100.00% <ø> (ø)
hybridse/src/node/plan_node.cc 85.13% <ø> (+0.31%) ⬆️
hybridse/src/plan/planner.h 100.00% <ø> (ø)
hybridse/src/vm/jit_wrapper_test.cc 95.34% <ø> (-0.06%) ⬇️
hybridse/src/vm/runner.cc 62.99% <0.00%> (+0.47%) ⬆️
hybridse/src/vm/sql_compiler.h 51.28% <ø> (ø)
hybridse/src/vm/transform.h 92.00% <ø> (ø)
...ava/com/_4paradigm/hybridse/sdk/RequestEngine.java 51.61% <ø> (-1.52%) ⬇️
...in/java/com/_4paradigm/hybridse/sdk/SqlEngine.java 63.46% <ø> (-0.69%) ⬇️
src/base/ddl_parser.cc 0.00% <0.00%> (ø)
... and 33 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 d2c7ad3...411f4de. Read the comment docs.

@zhanghaohit
Copy link
Collaborator

remember to update the related docs

@jingchen2222
Copy link
Collaborator Author

remember to update the related docs

DONE

@jingchen2222
Copy link
Collaborator Author

Copy link
Contributor

@superzhaozheng superzhaozheng left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@tobegit3hub tobegit3hub left a comment

Choose a reason for hiding this comment

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

LGTM

@tobegit3hub tobegit3hub merged commit 8185116 into 4paradigm:main Dec 21, 2021
@lumianph lumianph mentioned this pull request Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eliminate the concept of performance-sensitive mode for users

6 participants