-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
feat(ingestion/powerbi): DatabricksMultiCloud native query support #11756
feat(ingestion/powerbi): DatabricksMultiCloud native query support #11756
Conversation
sid-acryl
commented
Oct 30, 2024
•
edited
Loading
edited
- Support for parsing M-Query expression
- Remove ANSI escape character from SQL text before parsing it.
- Fix M-Query pattern issues
…thub.com/sid-acryl/datahub-fork into ing-755-databricks-multicloud-native-sql
return None | ||
|
||
if ( | ||
len(data_access_tokens) >= 13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where are these numbers coming from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the code
|
||
|
||
def test_databricks_multicloud(): | ||
q = M_QUERIES[31] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we added two statements above, but only one is tested?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deleted the duplicate one
): # use Catalog name is database | ||
return tree_function.strip_char(data_access_tokens[5]) | ||
|
||
return None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall this method seems extremely brittle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the code
…thub.com/sid-acryl/datahub-fork into ing-755-databricks-multicloud-native-sql
…thub.com/sid-acryl/datahub-fork into ing-755-databricks-multicloud-native-sql
…thub.com/sid-acryl/datahub-fork into ing-755-databricks-multicloud-native-sql