Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CREATE FUNCTION support #756

Open
fulghum opened this issue Sep 25, 2024 · 0 comments
Open

CREATE FUNCTION support #756

fulghum opened this issue Sep 25, 2024 · 0 comments
Labels
data import enhancement New feature or request

Comments

@fulghum
Copy link
Contributor

fulghum commented Sep 25, 2024

Doltgres does not yet support user-defined functions created through CREATE FUNCTION statements.

Example from Sakila data dump:

CREATE FUNCTION _group_concat(text, text) RETURNS text
    AS $_$
SELECT CASE
  WHEN $2 IS NULL THEN $1
  WHEN $1 IS NULL THEN $2
  ELSE $1 || ', ' || $2
END
$_$
    LANGUAGE sql IMMUTABLE;

Discovered through testing the Sakila data dump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data import enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant