Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27764

Feature Parity between PostgreSQL and Spark

    XMLWordPrintableJSON

Details

    • Umbrella
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • SQL
    • None

    Description

      PostgreSQL is one of the most advanced open source databases. This umbrella Jira is trying to track the missing features and bugs. 

      UPDATED: This umbrella tickets basically intend to include bug reports and general issues for the feature parity. For implementation-dependent behaviours and ANS/SQL standard topics, you need to check the two umbrella below;

      • SPARK-30374 Feature Parity between PostgreSQL and Spark (ANSI/SQL)
      • SPARK-30375 Feature Parity between PostgreSQL and Spark (implementation-dependent behaviours)

      Attachments

        Issue Links

          1.
          Handling of sublinks within outer-level aggregates. Sub-task Open Unassigned
          2.
          List all cases that PostgreSQL throws an exception but Spark SQL is NULL Sub-task Open Unassigned
          3.
          support statement using nested joins Sub-task Reopened Unassigned
          4.
          Support INTERVAL ... HOUR TO SECOND syntax Sub-task Resolved Zhu, Lipeng
          5.
          Interval type conversion syntax support Sub-task Resolved Zhu, Lipeng
          6.
          Support WITH clause column aliases Sub-task Resolved Peter Toth
          7.
          Support ORDER BY ... USING syntax Sub-task Resolved Unassigned
          8.
          `lag` second argument must be a literal Sub-task Open Unassigned
          9.
          Trim the string when cast string type to other types Sub-task Resolved Kent Yao 2
          10.
          String concatenation should low priority than other operators Sub-task Resolved Unassigned
          11.
          Float/Double type can not accept some special inputs Sub-task Resolved Unassigned
          12.
          Order by does not accept a call to rank() Sub-task Open Unassigned
          13.
          ntile only accepting positive (>0) values Sub-task Open Unassigned
          14.
          Support Interval comparison Sub-task Closed Unassigned
          15.
          Date/Timestamp type have different low value and high value with Spark Sub-task Open Unassigned
          16.
          Fix substitution order of nested WITH clauses Sub-task Resolved Peter Toth
          17.
          Date/Time Output Styles and Date Order Conventions Sub-task Open Unassigned
          18.
          Handling outer links in CTE subquery expressions Sub-task Open Unassigned
          19.
          Evaluation of multiple CTE uses Sub-task Resolved Unassigned
          20.
          Decimal can not accept NaN as input Sub-task Open Unassigned
          21.
          Decimal precision issue Sub-task Resolved Unassigned
          22.
          Decimal can only support precision up to 38 Sub-task Open Unassigned
          23.
          Correlated scalar subqueries must be aggregated Sub-task Resolved Allison Wang
          24.
          Division operator support integral division Sub-task Resolved Yuming Wang
          25.
          Add more Date/Time Operators Sub-task Open Unassigned
          26.
          SELECT FROM syntax Sub-task Open Unassigned
          27.
          Support typed interval expression Sub-task Resolved Yuming Wang
          28.
          Join with USING caluse doesn't hide original tables Sub-task Open Unassigned
          29.
          Use Java 8 API to add months to dates Sub-task Resolved Max Gekk
          30.
          Spark `exclude` always expecting `()` Sub-task Open Unassigned
          31.
          Support `TIME` type in Spark Sub-task Resolved Unassigned
          32.
          Support accepting the interval keyword in the schema string Sub-task Resolved Yuming Wang
          33.
          Different format when casting interval type to string type Sub-task Open Unassigned
          34.
          Pad Decimal numbers with trailing zeros to the scale of the column Sub-task Resolved Yuming Wang
          35.
          Recognize interval as a numeric type Sub-task Resolved Unassigned
          36.
          Support recursive view syntax Sub-task Resolved Unassigned
          37.
          Formatting dates with negative years Sub-task Resolved Max Gekk
          38.
          frame bound must be a literal Sub-task Open Unassigned
          39.
          Support empty select list Sub-task Closed Unassigned
          40.
          not handling usage of group function and window function at some conditions Sub-task Resolved Unassigned
          41.
          Support for range frame+row frame in the same query Sub-task Resolved Unassigned
          42.
          subqueries must be aggregated before hand Sub-task Resolved Unassigned
          43.
          window functions should not be allowed in window definitions Sub-task Resolved Unassigned
          44.
          Throw an error on window redefinition Sub-task Resolved Jiaan Geng
          45.
          Allow usage of `count` only for parameterless aggregate function Sub-task Resolved Jiaan Geng
          46.
          Adds support to `groups` unit type in window clauses Sub-task Open Unassigned
          47.
          ORDER BY in aggregate function Sub-task Open Unassigned
          48.
          Support limit on recursive queries Sub-task Resolved Unassigned
          49.
          [UDF] Supports for alter, rename, owner change should be supported in Spark Sub-task Open Unassigned
          50.
          String Constants with C-style Escapes Sub-task Open Unassigned
          51.
          char data type should support in Spark Sub-task Closed Unassigned
          52.
          Add TimeType to Catalyst Sub-task Closed Unassigned
          53.
          Support special date/timestamp values `infinity`/`-infinity` Sub-task Open Unassigned
          54.
          Ignore case while resolving time zones Sub-task Open Unassigned
          55.
          Support seconds precision by the timestamp type Sub-task Open Unassigned
          56.
          DEFAULT option is not supported in Spark Sub-task Resolved Unassigned
          57.
          Support interval field values with fractional parts Sub-task Resolved Unassigned
          58.
          Make casting strings to intervals case insensitive Sub-task Resolved Max Gekk
          59.
          Accept strings without `interval` prefix in casting to intervals Sub-task Resolved Max Gekk
          60.
          Interval strings without explicit unit markings Sub-task Open Unassigned
          61.
          Support interval values without INTERVAL clauses Sub-task Resolved Takeshi Yamamuro
          62.
          Make `INTERVAL` values comparable Sub-task Resolved Unassigned
          63.
          Construct intervals from the `millenniums`, `centuries` or `decades` units Sub-task Open Unassigned
          64.
          Support synonyms for interval units Sub-task Open Unassigned
          65.
          Support writing `INTERVAL` type to datasource table Sub-task Open Unassigned
          66.
          Interval output styles Sub-task Open Unassigned
          67.
          Support interval literal with negative sign `-` Sub-task Resolved Max Gekk
          68.
          Support the optional prefix `@` in interval strings Sub-task Open Unassigned
          69.
          Support `ago` in interval strings Sub-task Open Unassigned
          70.
          Default year-month units Sub-task Resolved Unassigned
          71.
          Support ISO 8601 format for intervals Sub-task In Progress Unassigned
          72.
          Precision of the interval type Sub-task Open Unassigned
          73.
          Support syntax for zero interval Sub-task Open Unassigned
          74.
          Unordered interval units Sub-task In Progress Unassigned
          75.
          Thrift in some cases can't parse string to date Sub-task Resolved Unassigned
          76.
          Spark should work as PostgreSQL when using + Operator Sub-task Resolved Unassigned
          77.
          Make COLUMN optional in ALTER TABLE Sub-task Open Unassigned
          78.
          NOT NULL is not supported in Spark Sub-task Resolved Unassigned
          79.
          Can't parse '11:00 BST' or '2000-10-19 10:23:54+01' signatures to timestamp Sub-task Open Unassigned
          80.
          Spark handles 'NaN' as 0 in sums Sub-task Resolved Unassigned
          81.
          Support data insertion in a different order if you wish or even omit some columns in spark sql also like postgresql Sub-task Open Unassigned
          82.
          Forcibly create a temporary view in CREATE VIEW if referencing a temporary view Sub-task Resolved Unassigned
          83.
          Support typed integer literal expression Sub-task Resolved Unassigned
          84.
          Support cascaded syntax in CREATE SCHEMA Sub-task Resolved Unassigned
          85.
          Discard a NULL constant in LIMIT Sub-task Resolved Unassigned
          86.
          Not allowed to create a permanent view by referencing a temporary view in EXISTS Sub-task Resolved Terry Kim
          87.
          Some queries with divisions in SQL windows are failling in Thrift Sub-task Resolved Unassigned
          88.
          Support divide/multiply for interval types Sub-task Resolved Unassigned
          89.
          Dropping columns and changing column names/types are prohibited in VIEW definition Sub-task Resolved Unassigned
          90.
          Support sum with interval type values Sub-task Reopened Unassigned
          91.
          Make interval type camparable and orderable Sub-task Resolved Kent Yao 2
          92.
          Different answers in aggregates of duplicate grouping sets Sub-task Resolved Takeshi Yamamuro
          93.
          Support average with interval type values Sub-task Reopened Unassigned
          94.
          Whitespaces handling for Cast and BinaryOperation between StringType and NumericTypes Sub-task Resolved Unassigned
          95.
          Support grouping function with multiple arguments Sub-task Open Unassigned
          96.
          Different answers in nested aggregates with window functions Sub-task Open Unassigned
          97.
          Support nested grouping sets Sub-task Open Unassigned
          98.
          Resolve group-by columns with integrity constraints Sub-task Open Unassigned
          99.
          Support Interval Unit Abbreviations in Interval Literals Sub-task Resolved Unassigned
          100.
          Support grouping() in GROUP BY without GroupingSets/Cube/Rollup Sub-task Open Unassigned
          101.
          Support the combinations of grouping operations Sub-task Open Unassigned
          102.
          Support more expressive forms in GroupingSets/Cube/Rollup Sub-task Open Unassigned
          103.
          Support an empty grouping expression Sub-task Open Unassigned
          104.
          Trim the string when cast string type to decimals Sub-task Resolved Kent Yao 2
          105.
          Support all whitespaces as delimiter for inside a interval value Sub-task Resolved Kent Yao 2
          106.
          Interval from year-month/date-time string handling whitespaces Sub-task Resolved Kent Yao 2
          107.
          Support nested aggregates Sub-task Open Unassigned
          108.
          Improved VALUES support Sub-task Open Unassigned
          109.
          Support POSIX Regular Expressions Sub-task Open Unassigned
          110.
          Support COMMENT ON syntax Sub-task Open Unassigned
          111.
          SQL Datetime util function being casted to double instead of timestamp Sub-task Reopened Unassigned
          112.
          Add parameter position for REGEXP_REPLACE Sub-task Resolved Jiaan Geng
          113.
          support drop multiple functions Sub-task Open Unassigned
          114.
          Support for INET data type Sub-task Resolved Unassigned
          115.
          Improve the error when Lead and Lag are not allowed to specify window frame Sub-task Resolved Jiaan Geng
          116.
          Simplify offset window function(Remove direction field) Sub-task Resolved Jiaan Geng

          Activity

            People

              Unassigned Unassigned
              smilegator Xiao Li
              Votes:
              3 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated: