airframe icon indicating copy to clipboard operation
airframe copied to clipboard

airframe-sql: Add function catalog

Open xerial opened this issue 3 years ago • 1 comments

To resolve SQL types, we also need to manage SQL function types, which can be retrieved with show functions (in Trino).

This PR adds SQL function type managers.

xerial avatar Aug 10 '22 20:08 xerial

Codecov Report

Merging #2365 (a8fa625) into master (40a63bb) will decrease coverage by 0.00%. The diff coverage is 75.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2365      +/-   ##
==========================================
- Coverage   82.72%   82.71%   -0.01%     
==========================================
  Files         342      344       +2     
  Lines       13102    13128      +26     
  Branches      828      826       -2     
==========================================
+ Hits        10838    10859      +21     
- Misses       2264     2269       +5     
Impacted Files Coverage Δ
...l/src/main/scala/wvlet/airframe/sql/SQLError.scala 0.00% <0.00%> (ø)
...ala/wvlet/airframe/sql/analyzer/TypeResolver.scala 87.50% <ø> (ø)
...ain/scala/wvlet/airframe/sql/catalog/Catalog.scala 57.14% <ø> (ø)
...in/scala/wvlet/airframe/sql/parser/SQLParser.scala 66.66% <0.00%> (ø)
...a/wvlet/airframe/sql/catalog/FunctionCatalog.scala 50.00% <50.00%> (ø)
...in/scala/wvlet/airframe/sql/catalog/DataType.scala 78.04% <78.04%> (+3.04%) :arrow_up:
...la/wvlet/airframe/sql/catalog/DataTypeParser.scala 92.85% <92.85%> (ø)
...rx/src/main/scala/wvlet/airframe/rx/RxRunner.scala 94.29% <0.00%> (-0.44%) :arrow_down:

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 40a63bb...a8fa625. Read the comment docs.

codecov[bot] avatar Aug 10 '22 20:08 codecov[bot]