Kranthi32 commented on issue #32869:
URL: https://github.com/apache/superset/issues/32869#issuecomment-2757453972

   getting this error in 4.1.2 version embedding code
   
   customer_id=4) GROUP BY year, region
   superset_app          |  LIMIT 50000 on schema public failed
   superset_app          | Traceback (most recent call last):
   superset_app          |   File "/app/superset/connectors/sqla/models.py", 
line 1761, in query
   superset_app          |     df = self.database.get_df(
   superset_app          |   File "/app/superset/models/core.py", line 677, in 
get_df
   superset_app          |     self.db_engine_spec.execute(cursor, sql_, self)
   superset_app          |   File "/app/superset/db_engine_specs/base.py", line 
1845, in execute
   superset_app          |     raise cls.get_dbapi_mapped_exception(ex) from ex
   superset_app          |   File "/app/superset/db_engine_specs/base.py", line 
1841, in execute
   superset_app          |     cursor.execute(query)
   superset_app          | psycopg2.errors.UndefinedColumn: column 
"customer_id" does not exist
   superset_app          | LINE 4: WHERE (customer_id=4) AND year >= 
TO_TIMESTAMP('1960-01-01 0...
   superset_app          |                ^
   superset_app          | 
   superset_app          | 2025-03-27 09:58:18,468:WARNING:root:Class 
'werkzeug.local.LocalProxy' is not mapped
   superset_app          | 2025-03-27 
09:58:18,484:DEBUG:superset.stats_logger:[stats_logger] (incr) 
ChartDataRestApi.data.warning
   superset_app          | 2025-03-27 
09:58:18,484:DEBUG:superset.stats_logger:[stats_logger] (timing) 
ChartDataRestApi.data.time | 1100.3494760007015 
   superset_app          | 172.18.0.1 - - [27/Mar/2025:09:58:


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to