Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-4011

Use JDBC's metadata API for querying schema and table information

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 3.10.0
    • Fix Version/s: None
    • Component/s: app.editor
    • Labels:
      None

      Description

      Currently in hue, methods to determine the metadata of a jdbc data source use hard coded sql statements to get this information. https://github.com/cloudera/hue/blob/master/desktop/libs/notebook/src/notebook/connectors/jdbc.py#L185-L195

      Rather than using JDBC's DatabaseMetaData interface is there a reason for this? Why not lean on the driver implementation to retrieve the correct data and type information. Is this something that is on the roadmap?

        Attachments

          Activity

            People

            • Assignee:
              yandu Yandu Oppacher
              Reporter:
              yandu Yandu Oppacher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: