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

feat: add CAST function placeholder. #474

Merged
merged 4 commits into from
Nov 7, 2022
Merged

Conversation

WyattJia
Copy link
Contributor

@WyattJia WyattJia commented Oct 25, 2022

Signed-off-by: Wyatt Jia i@eventloop.live

What this PR does:

Add CAST function placeholder logic for whole CAST entrypoints.

Which issue(s) this PR fixes:

ref #465

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Signed-off-by: Wyatt Jia <i@eventloop.live>
@codecov-commenter
Copy link

codecov-commenter commented Oct 25, 2022

Codecov Report

Base: 37.06% // Head: 36.28% // Decreases project coverage by -0.77% ⚠️

Coverage data is based on head (ec612d2) compared to base (9b07dda).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #474      +/-   ##
==========================================
- Coverage   37.06%   36.28%   -0.78%     
==========================================
  Files         132      147      +15     
  Lines       20345    20963     +618     
==========================================
+ Hits         7541     7607      +66     
- Misses      12002    12524     +522     
- Partials      802      832      +30     
Impacted Files Coverage Δ
pkg/dataset/priority_queue.go 64.35% <0.00%> (-1.00%) ⬇️
pkg/runtime/ast/show.go 30.67% <0.00%> (-0.80%) ⬇️
pkg/config/model.go 33.80% <0.00%> (ø)
pkg/runtime/ast/proto.go 53.33% <0.00%> (ø)
pkg/runtime/plan/dal/show_character_set.go 0.00% <0.00%> (ø)
pkg/runtime/plan/dal/show_create.go 0.00% <0.00%> (ø)
pkg/runtime/plan/dal/analyze_table.go 0.00% <0.00%> (ø)
pkg/runtime/plan/dal/show_index.go 0.00% <0.00%> (ø)
pkg/runtime/plan/dal/show_table_status.go 0.00% <0.00%> (ø)
pkg/runtime/plan/dal/show_columns.go 0.00% <0.00%> (ø)
... and 13 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Wyatt Jia <i@eventloop.live>
pkg/runtime/function2/cast.go Show resolved Hide resolved
pkg/runtime/function2/cast_test.go Outdated Show resolved Hide resolved
@dongzl dongzl added the SQL SQL support label Oct 26, 2022
Signed-off-by: Wyatt Jia <i@eventloop.live>
Copy link
Contributor

@jjeffcaii jjeffcaii left a comment

Choose a reason for hiding this comment

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

Pls fix

Signed-off-by: Wyatt Jia <i@eventloop.live>
@dongzl dongzl merged commit 1191a78 into arana-db:master Nov 7, 2022
GavinLam164 pushed a commit to GavinLam164/arana that referenced this pull request Feb 25, 2023
* feat: add CAST function placeholder.

Signed-off-by: Wyatt Jia <i@eventloop.live>

* format: format import order.

Signed-off-by: Wyatt Jia <i@eventloop.live>

* format: format code by imports-formatter

Signed-off-by: Wyatt Jia <i@eventloop.live>

* Remove Cast tdd test case.

Signed-off-by: Wyatt Jia <i@eventloop.live>

Signed-off-by: Wyatt Jia <i@eventloop.live>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SQL SQL support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants