mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix: can't sync temporal flag on virtual table (#19366)
This commit is contained in:
@@ -62,6 +62,7 @@ from superset.errors import ErrorLevel, SupersetError, SupersetErrorType
|
||||
from superset.models.sql_lab import Query
|
||||
from superset.models.sql_types.base import literal_dttm_type_factory
|
||||
from superset.sql_parse import ParsedQuery, Table
|
||||
from superset.superset_typing import ResultSetColumnType
|
||||
from superset.utils import core as utils
|
||||
from superset.utils.core import ColumnSpec, GenericDataType
|
||||
from superset.utils.hashing import md5_sha_from_str
|
||||
@@ -566,8 +567,10 @@ class BaseEngineSpec: # pylint: disable=too-many-public-methods
|
||||
|
||||
@classmethod
|
||||
def expand_data(
|
||||
cls, columns: List[Dict[Any, Any]], data: List[Dict[Any, Any]]
|
||||
) -> Tuple[List[Dict[Any, Any]], List[Dict[Any, Any]], List[Dict[Any, Any]]]:
|
||||
cls, columns: List[ResultSetColumnType], data: List[Dict[Any, Any]]
|
||||
) -> Tuple[
|
||||
List[ResultSetColumnType], List[Dict[Any, Any]], List[ResultSetColumnType]
|
||||
]:
|
||||
"""
|
||||
Some engines support expanding nested fields. See implementation in Presto
|
||||
spec for details.
|
||||
|
||||
Reference in New Issue
Block a user