linkedin / coral

Coral is a translation, analysis, and query rewrite engine for SQL and other relational languages.
BSD 2-Clause "Simplified" License
783 stars 184 forks source link

[Coral-Hive] Remove duplicate used defined function registration #463

Closed findinpath closed 11 months ago

findinpath commented 11 months ago

What changes are proposed in this pull request, and why are they necessary?

Remove one of the duplicated registrations for array_contains user defined function definitions:

https://github.com/linkedin/coral/blob/a7e33e6972995eb275366878a0de3201525003af/coral-hive/src/main/java/com/linkedin/coral/hive/hive2rel/functions/StaticHiveFunctionRegistry.java#L363

https://github.com/linkedin/coral/blob/a7e33e6972995eb275366878a0de3201525003af/coral-hive/src/main/java/com/linkedin/coral/hive/hive2rel/functions/StaticHiveFunctionRegistry.java#L376

How was this patch tested?

N/A