mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix: customize column description limit size in db_engine_spec (#34808)
(cherry picked from commit 75af53dc3d)
This commit is contained in:
committed by
Michael S. Molina
parent
097f576244
commit
878289a2e6
@@ -1993,6 +1993,16 @@ class BaseEngineSpec: # pylint: disable=too-many-public-methods
|
||||
"""
|
||||
return []
|
||||
|
||||
@classmethod
|
||||
def get_column_description_limit_size(cls) -> int:
|
||||
"""
|
||||
Get a minimum limit size for the sample SELECT column query
|
||||
to fetch the column metadata.
|
||||
|
||||
:return: A number of limit size
|
||||
"""
|
||||
return 1
|
||||
|
||||
@staticmethod
|
||||
def pyodbc_rows_to_tuples(data: list[Any]) -> list[tuple[Any, ...]]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user