-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[PECO-921] (Reimplemented) Fix: allow DESCRIBE TABLE EXTENDED to handle more than 2048 characters #405
Conversation
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
self.assertEqual(get_identifier_list_string(table_names), "*") | ||
|
||
def test_describe_table_extended_may_limit(self): | ||
"""GIVEN a list of table_names whos total character length does not 2048 characters |
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.
When we tackle improving our tests, we should discuss how we want to encode this information. I tend to favor encoding in the test name in python, but mainly because I haven't come across a test framework in python that did a great job of it.
…le more than 2048 characters (#405) --------- Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
@benc-db / @susodapop would it be possible to create a 1.5 backport patch? |
What is blocking you/your customer from using 1.6.x? |
@colin-rogers-dbt Included in 1.5.6 |
Resolves #325
Description
Follow-on work after we reverted the original fix in #404.
The behaviour is now gated behind an environment variable called
DBT_DESCRIBE_TABLE_2048_CHAR_BYPASS
. When that environment variable is set totrue
then the fix is applied. Else we do not cap the joined table names length to 2048 characters. This 2048 limit only applies to Glue Catalog users and should not be applied to all dbt runs.Checklist
CHANGELOG.md
and added information about my change to the "dbt-databricks next" section.