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

value refactor #1614

Merged
merged 1 commit into from
Jun 3, 2023
Merged

value refactor #1614

merged 1 commit into from
Jun 3, 2023

Conversation

acquamarin
Copy link
Collaborator

@acquamarin acquamarin commented Jun 2, 2023

Refactors the storage of value to store the physical dataType only.

@@ -179,8 +179,11 @@ void Binder::bindQueryRel(const RelPattern& relPattern,
" are not connected through rel " + parsedName + ".");
}
}
auto dataType = isVariableLength ? common::LogicalType(common::LogicalTypeID::RECURSIVE_REL) :
common::LogicalType(common::LogicalTypeID::REL);
auto dataType = isVariableLength ?
Copy link
Contributor

Choose a reason for hiding this comment

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

Can u check other places where we switch for RECURSIVE_REL logical type. We should propogate child type to those places as well.

For example

AuxiliaryBufferFactory::getAuxiliaryBuffer

@codecov
Copy link

codecov bot commented Jun 3, 2023

Codecov Report

Patch coverage: 81.96% and project coverage change: -0.02 ⚠️

Comparison is base (48dfd1b) 91.95% compared to head (335e94a) 91.94%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1614      +/-   ##
==========================================
- Coverage   91.95%   91.94%   -0.02%     
==========================================
  Files         705      705              
  Lines       25654    25637      -17     
==========================================
- Hits        23591    23571      -20     
- Misses       2063     2066       +3     
Impacted Files Coverage Δ
src/common/types/value.cpp 92.03% <76.59%> (-0.62%) ⬇️
src/binder/bind/bind_graph_pattern.cpp 94.35% <100.00%> (+0.06%) ⬆️
src/expression_evaluator/literal_evaluator.cpp 88.88% <100.00%> (-1.12%) ⬇️
src/include/common/types/value.h 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

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

@acquamarin acquamarin merged commit 657623b into master Jun 3, 2023
7 of 8 checks passed
@acquamarin acquamarin deleted the value-refactor branch June 3, 2023 14:32
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.

None yet

2 participants