perf(sqla): avoid unnecessary type check on adhoc column (#23491)

This commit is contained in:
Ville Brofeldt
2023-03-31 18:18:08 +03:00
committed by GitHub
parent bc2ec044b8
commit ee9ef24509
2 changed files with 26 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ from superset.utils.pandas_postprocessing.utils import (
@validate_column_args("index", "columns")
def pivot( # pylint: disable=too-many-arguments,too-many-locals
def pivot( # pylint: disable=too-many-arguments
df: DataFrame,
index: List[str],
aggregates: Dict[str, Dict[str, Any]],