You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jl...@apache.org on 2026/07/21 17:16:36 UTC

(superset) branch master updated: test(sqla): add the jinja orderby calculated column to the session (#42274)

This is an automated email from the ASF dual-hosted git repository.

sadpandajoe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new f9378baba8d test(sqla): add the jinja orderby calculated column to the session (#42274)
f9378baba8d is described below

commit f9378baba8dc53f24a206f2e02871f0af60afa18
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Tue Jul 21 10:16:29 2026 -0700

    test(sqla): add the jinja orderby calculated column to the session (#42274)
    
    Co-authored-by: Claude Code <no...@anthropic.com>
---
 tests/integration_tests/db_engine_specs/base_engine_spec_tests.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/integration_tests/db_engine_specs/base_engine_spec_tests.py b/tests/integration_tests/db_engine_specs/base_engine_spec_tests.py
index 8ffbaba0701..ec9ad2dd44f 100644
--- a/tests/integration_tests/db_engine_specs/base_engine_spec_tests.py
+++ b/tests/integration_tests/db_engine_specs/base_engine_spec_tests.py
@@ -214,7 +214,7 @@ class SupersetTestCases(SupersetTestCase):
         SELECT/WHERE/GROUP BY.
         """
         table = self.get_table(name="birth_names")
-        TableColumn(
+        column = TableColumn(
             column_name="gender_cc_jinja",
             type="VARCHAR(255)",
             table=table,
@@ -225,6 +225,7 @@ class SupersetTestCases(SupersetTestCase):
             end
             """,
         )
+        db.session.add(column)
 
         table.database.sqlalchemy_uri = "sqlite://"
         query_obj: QueryObjectDict = {