Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

The table of built-in functions supported by the query language is incomplete #9

Open
dsyme opened this issue Jul 28, 2014 · 0 comments

Comments

@dsyme
Copy link
Contributor

dsyme commented Jul 28, 2014

This is documenting a feature request - users of this type provider who need this feature are encouraged to implement it and submit the implementation back to this repo.

When looking at this code last week we noticed that the table of built-in functions supported in Hive queries is incomplete and needs to be more thoroughly tested.

The Hive documentation can be found here: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF

The implementation of the F#-to-Hivetable translation is here: https://github.com/fsprojects/FSharp.Data.HiveProvider/blob/84b6bd97c0c1fe18c001b58b563c22d70837591f/src/HiveTypeProvider/HiveTypeProvider.fs#L1209

One particular concern is that there are many, many Hive functions and operators, most of which have no direct equivalent in F#. This means that "fake" F# functions would be needed along with mappings for these. If done badly, however, this may make it hard to discover these functions (unless samples are written for all of them), and could call into question the whole value of using F# query syntax as source for Hive queries. So thought should be given to make sure the translated functions are very regular and easy to discover - perhaps putting them all under a "Hive" module so that all functions can be found via intellisense completion on "Hive."

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants