mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
fix: contribution operator meets nan value (#18782)
This commit is contained in:
@@ -19,6 +19,7 @@ from __future__ import annotations
|
||||
|
||||
import logging
|
||||
from datetime import datetime, timedelta
|
||||
from pprint import pformat
|
||||
from typing import Any, Dict, List, NamedTuple, Optional, TYPE_CHECKING
|
||||
|
||||
from flask_babel import gettext as _
|
||||
@@ -395,6 +396,7 @@ class QueryObject: # pylint: disable=too-many-instance-attributes
|
||||
:raises QueryObjectValidationError: If the post processing operation
|
||||
is incorrect
|
||||
"""
|
||||
logger.debug("post_processing: %s", pformat(self.post_processing))
|
||||
for post_process in self.post_processing:
|
||||
operation = post_process.get("operation")
|
||||
if not operation:
|
||||
|
||||
Reference in New Issue
Block a user