Skip to content

Tracking: Integration with DataGrip #10347

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

Open
8 of 10 tasks
neverchanje opened this issue Jun 15, 2023 · 6 comments
Open
8 of 10 tasks

Tracking: Integration with DataGrip #10347

neverchanje opened this issue Jun 15, 2023 · 6 comments

Comments

@neverchanje
Copy link
Contributor Author

neverchanje commented Jun 15, 2023

Unsupported queries:

  • 1

    SELECT 
      n.nspname, 
      c.relname, 
      a.attname, 
      a.atttypid, 
      a.attnotnull 
      OR (
        t.typtype = 'd' 
        AND t.typnotnull
      ) AS attnotnull, 
      a.atttypmod, 
      a.attlen, 
      t.typtypmod, 
      a.attnum, 
      null as attidentity, 
      null as attgenerated, 
      pg_catalog.pg_get_expr(def.adbin, def.adrelid) AS adsrc, 
      dsc.description, 
      t.typbasetype, 
      t.typtype 
    FROM 
      pg_catalog.pg_namespace n 
      JOIN pg_catalog.pg_class c ON (c.relnamespace = n.oid) 
      JOIN pg_catalog.pg_attribute a ON (a.attrelid = c.oid) 
      JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) 
      LEFT JOIN pg_catalog.pg_attrdef def ON (
        a.attrelid = def.adrelid 
        AND a.attnum = def.adnum
      ) 
      LEFT JOIN pg_catalog.pg_description dsc ON (
        c.oid = dsc.objoid 
        AND a.attnum = dsc.objsubid
      ) 
      LEFT JOIN pg_catalog.pg_class dc ON (
        dc.oid = dsc.classoid 
        AND dc.relname = 'pg_class'
      ) 
      LEFT JOIN pg_catalog.pg_namespace dn ON (
        dc.relnamespace = dn.oid 
        AND dn.nspname = 'pg_catalog'
      ) 
    WHERE 
      c.relkind in ('r', 'p', 'v', 'f', 'm') 
      and a.attnum > 0 
      AND NOT a.attisdropped 
      AND n.nspname LIKE 'information\_schema' 
      AND c.relname LIKE 'tables' 
      AND attname LIKE '%' 
    ORDER BY 
      nspname, 
      c.relname, 
      attnum
  • 2

    SELECT 
      n.nspname, 
      p.proname, 
      p.prorettype, 
      p.proargtypes, 
      t.typtype, 
      t.typrelid, 
      p.proargnames, 
      p.proargmodes, 
      p.proallargtypes, 
      p.oid 
    FROM 
      pg_catalog.pg_proc p, 
      pg_catalog.pg_namespace n, 
      pg_catalog.pg_type t 
    WHERE 
      p.pronamespace = n.oid 
      AND p.prorettype = t.oid 
      AND n.nspname LIKE 'pg\_catalog' 
      AND p.proname LIKE '%' 
    ORDER BY 
      n.nspname, 
      p.proname, 
      p.oid :: text

@TennyZhuang
Copy link
Contributor

new bug

Failed to retrieve user types in dev.information_schema. [XX000] ERROR: ParseError: Bind error: failed to bind expression: pg_catalog.obj_description(t.oid, 'pg_type'). Caused by: Feature is not yet implemented: unsupported function: "obj_description" Tracking issue: https://github.com/risingwavelabs/risingwave/issues/112 Server SQLState: XX000. dev.information_schema. [XX000] ERROR: ParseError: Bind error: failed to bind expression: p.proargtypes. Caused by: Item not found: Invalid column: proargtypes

@TennyZhuang TennyZhuang changed the title Support the integration with DataGrip Tracking: Integration with DataGrip Aug 7, 2023
@neverchanje
Copy link
Contributor Author

neverchanje commented Sep 8, 2023

I personally feel that the ROI of Datagrip support is too low. It requires a lot of efforts to complete even its basic support, as it uses tons of Postgres advanced functions #2954 unnecessarily. If you don't disagree @TennyZhuang, I will temporarilly pause the development until we see a valid reason for continuation.

@neverchanje neverchanje removed this from the release-1.4 milestone Oct 11, 2023
@neverchanje
Copy link
Contributor Author

Not planned for now as there are too many features to support. Please vote 👍 or comment to this issue if you feel that it's important to your use cases. Instead of DataGrip, our current recommendation is Beekeeper Community Edition

@neverchanje neverchanje closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2023
@neverchanje neverchanje reopened this Dec 27, 2023
@neverchanje
Copy link
Contributor Author

neverchanje commented Dec 27, 2023

Let's revive this issue as many users view Datagrip as the first option, although there are alternatives.

Copy link
Contributor

github-actions bot commented Jul 3, 2024

This issue has been open for 60 days with no activity.

If you think it is still relevant today, and needs to be done in the near future, you can comment to update the status, or just manually remove the no-issue-activity label.

You can also confidently close this issue as not planned to keep our backlog clean.
Don't worry if you think the issue is still valuable to continue in the future.
It's searchable and can be reopened when it's time. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants