crate/crate

Support additional units for `INTERVAL` types

開放

#11,490 建立於 2021年6月17日

 (11 則留言) (2 個反應) (1 位負責人)Java (545 個分叉)batch import
complexity: no estimatefeature: sql: type systemgood first issueneeds concrete use-case

倉庫指標

星標
 (3,863 顆星)
PR 合併指標
 (平均合併 1天 11小時) (30 天內合併 159 個 PR)

描述

Use case:

  • Compatibility with PostgreSQL
  • Time-series applications

Feature description:

the CrateDB INTERVAL data type does not currently support the PostgreSQL input units MILLENNIUM, CENTURY, DECADE, MILLISECOND, or MICROSECOND. the larger units might not be so useful for most CrateDB use-cases, but MILLISECOND and MICROSECOND appear to be good candidates for use with time-series applications

NOTE: this feature request was spun out of my work revamping the data types docs

貢獻者指南