Skip to content

[CALCITE-2992] Enhance implicit conversions when generating hash join keys for an equiCondition#1158

Open
LaiZhou wants to merge 3 commits intoapache:mainfrom
LaiZhou:improve_hash_join_key_generate
Open

[CALCITE-2992] Enhance implicit conversions when generating hash join keys for an equiCondition#1158
LaiZhou wants to merge 3 commits intoapache:mainfrom
LaiZhou:improve_hash_join_key_generate

Conversation

@LaiZhou
Copy link
Contributor

@LaiZhou LaiZhou commented Apr 12, 2019

…ys for an equiCondition (Lai Zhou)
Make implicit conversions when generating hash join keys for an equiCondition.
CALCITE-2992

list.add(fieldReference(v1, field));
list.add(
Expressions.call(CONVERT2STRING_METHOD, fieldReference(v1, field)));
}
Copy link
Contributor

@chunweilei chunweilei Apr 13, 2019

Choose a reason for hiding this comment

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

Need test case at least. Besides, I really don't think it's a good idea to convert join keys to strings considering its costs.

Copy link
Contributor Author

@LaiZhou LaiZhou Apr 16, 2019

Choose a reason for hiding this comment

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

@chunweilei ,I pushed a new commit , would you review it?

@LaiZhou LaiZhou changed the title [CALCITE-2992] Make implicit conversions when generating hash join keys for an equiCondition [CALCITE-2992] Enhance implicit conversions when generating hash join keys for an equiCondition Apr 19, 2019
@danny0405 danny0405 force-pushed the master branch 2 times, most recently from 80f411d to ca27fe9 Compare November 30, 2019 07:52
@vlsi vlsi force-pushed the master branch 2 times, most recently from 49cb002 to 8768a23 Compare December 29, 2019 12:07
@julianhyde julianhyde force-pushed the main branch 2 times, most recently from 8a5cf83 to cf7f71b Compare June 8, 2023 21:21
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.

2 participants