Skip to content

Conversation

@rakhiagr
Copy link
Contributor

@rakhiagr rakhiagr commented Feb 16, 2024

The other GMS could have used the methods defined in SQLSchemaUtils. The last change to add boolean nonDollarVirtualColumnsEnabled will break those GMSes once they bump their version.

I have made nonDollarVirtualColumnsEnabled a static member of SQLSchemaUtils which can be initialized when we create an instance of EbeanLocalAccess to set the value of nonDollarVirtualColumnsEnabled and be consistent with the whole instance.

Testing

./gradlew build

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

@rakhiagr rakhiagr requested a review from yangyangv2 February 16, 2024 00:46
Copy link
Contributor

@yangyangv2 yangyangv2 left a comment

Choose a reason for hiding this comment

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

This global static verifiable setting is unintuitive and error prone. Can we make the fix the ai-metadata-gms instead of including hack solution?

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.

3 participants