Skip to content

Map All Postgres functions to ClickHouse functions #160

@theory

Description

@theory

Inventory all of the functions in Postgres, and, to the extent possible, map them to ClickHouse equivalents. Some of this has already been done in src/custom_types.c, but we need far more comprehensive coverage. There are at least three categories of function mappings:

  1. Functions with the same name and functionality in both Postgres and ClickHouse. These should already work, but add tests to ensure correctness.
  2. Functions with different names (or capitalization, since ClickHouse functions are case-sensitive). We've mapped a few, but need many more.
  3. Functions with no direct equivalent. Make a complete list of these and determine how best to handle them, either by combining other multiple ClickHouse functions, by adding equivalents to ClickHouse itself, or some other approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfunctionsImprove function pushdownpushdownImprovements to query pushdown

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions