Skip to content

Conversation

@jimexist
Copy link
Member

Which issue does this PR close?

Closes #.

Rationale for this change

refactor datafusion/scalar value to use more macro and avoid dup code

What changes are included in this PR?

Are there any user-facing changes?

@codecov-commenter
Copy link

codecov-commenter commented May 23, 2021

Codecov Report

Merging #392 (1ad3e02) into master (db4f098) will decrease coverage by 0.04%.
The diff coverage is 50.60%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #392      +/-   ##
==========================================
- Coverage   74.94%   74.89%   -0.05%     
==========================================
  Files         146      146              
  Lines       24314    24334      +20     
==========================================
+ Hits        18221    18224       +3     
- Misses       6093     6110      +17     
Impacted Files Coverage Δ
datafusion/src/scalar.rs 53.71% <50.60%> (-1.77%) ⬇️

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 db4f098...1ad3e02. Read the comment docs.

@jimexist jimexist changed the title refactor datafusion/scalar value to use more macro and avoid dup code refactor datafusion/scalar_value to use more macro and avoid dup code May 23, 2021
Copy link
Member

@jorgecarleitao jorgecarleitao left a comment

Choose a reason for hiding this comment

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

LGTM. Always great to have less code :)

@Dandandan
Copy link
Contributor

Looks good. I think there is some more code a bit lower for timestamps that could also use the macro @jimexist

Copy link
Contributor

@Dandandan Dandandan left a comment

Choose a reason for hiding this comment

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

LGTM

@jorgecarleitao jorgecarleitao merged commit 1ba0eb0 into apache:master May 24, 2021
@jimexist jimexist deleted the use-macro-scalar branch May 24, 2021 10:16
H0TB0X420 pushed a commit to H0TB0X420/datafusion that referenced this pull request Oct 7, 2025
* checkpoint commit

* Introduce BaseSessionContext abstract class

* Introduce abstract methods for CRUD schema operations

* Clean up schema.rs file
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.

5 participants