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

fix: use default implementation for describe-database #69

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

stepansergeevitch
Copy link
Collaborator

  1. Improve describe-database to use the default jdbc implementation, since we support it now on JDBC side. It's more accurate as well
  2. Report schemas as not supported (we cannot set table schema)

@stepansergeevitch stepansergeevitch self-assigned this Oct 10, 2024
@stepansergeevitch stepansergeevitch requested a review from a team as a code owner October 10, 2024 08:47
Comment on lines 257 to 259
(defmethod sql-jdbc.sync/excluded-schemas :firebolt
[_]
#{"information_schema"})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this excluding I_S tables from metabase altogether? There might be cases where users want to access them too.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd run this by the Product team - in our connectors for Tableau and Superset we have information schema exposed by default.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll create a ticket for this. I'll enable infromation_schema for now

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/metabase/driver/firebolt.clj Show resolved Hide resolved
Copy link
Collaborator

@ptiurin ptiurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from that lgtm

@stepansergeevitch stepansergeevitch merged commit 74ff461 into develop Oct 14, 2024
2 checks passed
@stepansergeevitch stepansergeevitch deleted the improve-describe-database branch October 14, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants