Skip to content

Conversation

@joaopamaral
Copy link

SUMMARY

This pull request introduces a fix for a MariaDB-specific DDL syntax issue in Superset by patching SQLAlchemy's sequence creation logic. The main change ensures that when creating sequences for MariaDB, the generated SQL uses NOCYCLE instead of the incorrect NO CYCLE syntax. The fix is applied early in the import chain to guarantee it takes effect throughout the application. Unit tests have also been added to verify the patch works as intended.

This issue breaks table creation during superset db upgrade when using MariaDB database.

MariaDB DDL syntax fix:

  • Added apply_mariadb_ddl_fix() to superset/utils/database.py, which patches SQLAlchemy's DDLCompiler.visit_create_sequence method to replace NO CYCLE with NOCYCLE for MariaDB dialects. This prevents SQL errors when creating sequences in MariaDB.
  • Called apply_mariadb_ddl_fix() early in the superset/extensions/__init__.py import chain to ensure the fix is active before any database operations occur.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A

TESTING INSTRUCTIONS

  • Added new unit tests in tests/unit_tests/utils/test_database.py to verify that the patch correctly modifies the generated SQL for MariaDB and does not affect other dialects like PostgreSQL.
pytest tests/unit_tests/utils/test_database.py -v                                                                                                                                                                                                                                                                                                                                                                                                                                                 

tests/unit_tests/utils/test_database.py::test_mariadb_nocycle_fix_applied PASSED                                                                                                                                                                                                                                                                                                                                                                                                       [ 50%]
tests/unit_tests/utils/test_database.py::test_nocycle_fix_not_applied_for_postgresql PASSED   

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

Move the MariaDB "NO CYCLE" to "NOCYCLE" DDL fix from migrations/env.py
to superset/utils/database.py so it can be properly unit tested.

The fix is applied early in the import chain via extensions/__init__.py.
@bito-code-review
Copy link
Contributor

bito-code-review bot commented Jan 30, 2026

Code Review Agent Run #8ad941

Actionable Suggestions - 0
Review Details
  • Files reviewed - 3 · Commit Range: d844998..d844998
    • superset/extensions/__init__.py
    • superset/utils/database.py
    • tests/unit_tests/utils/test_database.py
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • MyPy (Static Code Analysis) - ✔︎ Successful
    • Astral Ruff (Static Code Analysis) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@dosubot dosubot bot added the data:connect:mariadb Related to a specific database label Jan 30, 2026
@netlify
Copy link

netlify bot commented Jan 30, 2026

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit d844998
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/697cf3887f186100086f4ce6
😎 Deploy Preview https://deploy-preview-37582--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jan 30, 2026

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 9af2908
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/697cf551ca045e00078cc165
😎 Deploy Preview https://deploy-preview-37582--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@joaopamaral
Copy link
Author

All tables are created successfully in MariaDB after this change:

2026-01-30 15:24:33.862 | INFO  [alembic.env] Starting the migration scripts.
2026-01-30 15:24:33.864 | INFO  [alembic.runtime.migration] Context impl MariaDBImpl.
2026-01-30 15:24:33.864 | INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
2026-01-30 15:24:33.966 | INFO  [alembic.runtime.migration] Running upgrade  -> 4e6a06bad7a8, Init
2026-01-30 15:24:33.966 | INFO  [alembic.env] Creating table clusters...
2026-01-30 15:24:33.972 | INFO  [alembic.env] Table clusters created.
2026-01-30 15:24:33.973 | INFO  [alembic.env] Creating table dashboards...
2026-01-30 15:24:33.976 | INFO  [alembic.env] Table dashboards created.
2026-01-30 15:24:33.976 | INFO  [alembic.env] Creating table dbs...
2026-01-30 15:24:33.981 | INFO  [alembic.env] Table dbs created.
2026-01-30 15:24:33.981 | INFO  [alembic.env] Creating table datasources...
2026-01-30 15:24:33.985 | INFO  [alembic.env] Table datasources created.
2026-01-30 15:24:33.985 | INFO  [alembic.env] Creating table tables...
2026-01-30 15:24:33.990 | INFO  [alembic.env] Table tables created.
2026-01-30 15:24:33.991 | INFO  [alembic.env] Creating table columns...
2026-01-30 15:24:33.994 | INFO  [alembic.env] Table columns created.
2026-01-30 15:24:33.994 | INFO  [alembic.env] Creating table metrics...
2026-01-30 15:24:33.997 | INFO  [alembic.env] Table metrics created.
2026-01-30 15:24:33.997 | INFO  [alembic.env] Creating table slices...
2026-01-30 15:24:34.001 | INFO  [alembic.env] Table slices created.
2026-01-30 15:24:34.001 | INFO  [alembic.env] Creating table sql_metrics...
2026-01-30 15:24:34.005 | INFO  [alembic.env] Table sql_metrics created.
2026-01-30 15:24:34.005 | INFO  [alembic.env] Creating table table_columns...
2026-01-30 15:24:34.008 | INFO  [alembic.env] Table table_columns created.
2026-01-30 15:24:34.009 | INFO  [alembic.env] Creating table dashboard_slices...
2026-01-30 15:24:34.014 | INFO  [alembic.env] Table dashboard_slices created.
2026-01-30 15:24:34.014 | INFO  [alembic.runtime.migration] Running upgrade 4e6a06bad7a8 -> 5a7bad26f2a7, empty message
2026-01-30 15:24:34.020 | INFO  [alembic.runtime.migration] Running upgrade 5a7bad26f2a7 -> 1e2841a4128, empty message
2026-01-30 15:24:34.025 | INFO  [alembic.runtime.migration] Running upgrade 1e2841a4128 -> 2929af7925ed, TZ offsets in data sources
2026-01-30 15:24:34.030 | INFO  [alembic.runtime.migration] Running upgrade 2929af7925ed -> 289ce07647b, Add encrypted password field
2026-01-30 15:24:34.033 | INFO  [alembic.runtime.migration] Running upgrade 289ce07647b -> 1a48a5411020, adding slug to dash
2026-01-30 15:24:34.040 | INFO  [alembic.runtime.migration] Running upgrade 1a48a5411020 -> 315b3f4da9b0, adding log model
2026-01-30 15:24:34.040 | INFO  [alembic.env] Creating table logs...
2026-01-30 15:24:34.042 | INFO  [alembic.env] Table logs created.
2026-01-30 15:24:34.042 | INFO  [alembic.runtime.migration] Running upgrade 315b3f4da9b0 -> 55179c7f25c7, sqla_descr
2026-01-30 15:24:34.045 | INFO  [alembic.runtime.migration] Running upgrade 55179c7f25c7 -> 12d55656cbca, is_featured
2026-01-30 15:24:34.048 | INFO  [alembic.runtime.migration] Running upgrade 12d55656cbca -> 2591d77e9831, user_id
2026-01-30 15:24:34.059 | INFO  [alembic.runtime.migration] Running upgrade 2591d77e9831 -> 8e80a26a31db, empty message
2026-01-30 15:24:34.059 | INFO  [alembic.env] Creating table url...
2026-01-30 15:24:34.063 | INFO  [alembic.env] Table url created.
2026-01-30 15:24:34.064 | INFO  [alembic.runtime.migration] Running upgrade 8e80a26a31db -> 7dbf98566af7, empty message
2026-01-30 15:24:34.066 | INFO  [alembic.runtime.migration] Running upgrade 7dbf98566af7 -> 43df8de3a5f4, empty message
2026-01-30 15:24:34.069 | INFO  [alembic.runtime.migration] Running upgrade 43df8de3a5f4 -> d827694c7555, css templates
2026-01-30 15:24:34.069 | INFO  [alembic.env] Creating table css_templates...
2026-01-30 15:24:34.073 | INFO  [alembic.env] Table css_templates created.
2026-01-30 15:24:34.073 | INFO  [alembic.runtime.migration] Running upgrade d827694c7555 -> 430039611635, log more
2026-01-30 15:24:34.077 | INFO  [alembic.runtime.migration] Running upgrade 430039611635 -> 18e88e1cc004, making audit nullable
2026-01-30 15:24:34.091 | INFO  [alembic.runtime.migration] Running upgrade 18e88e1cc004 -> 836c0bf75904, cache_timeouts
2026-01-30 15:24:34.101 | INFO  [alembic.runtime.migration] Running upgrade 18e88e1cc004 -> a2d606a761d9, adding favstar model
2026-01-30 15:24:34.101 | INFO  [alembic.env] Creating table favstar...
2026-01-30 15:24:34.103 | INFO  [alembic.env] Table favstar created.
2026-01-30 15:24:34.104 | INFO  [alembic.runtime.migration] Running upgrade a2d606a761d9, 836c0bf75904 -> d2424a248d63, empty message
2026-01-30 15:24:34.105 | INFO  [alembic.runtime.migration] Running upgrade d2424a248d63 -> 763d4b211ec9, fixing audit fk
2026-01-30 15:24:34.267 | INFO  [alembic.runtime.migration] Running upgrade d2424a248d63 -> 1d2ddd543133, log dt
2026-01-30 15:24:34.271 | INFO  [alembic.runtime.migration] Running upgrade 1d2ddd543133, 763d4b211ec9 -> fee7b758c130, empty message
2026-01-30 15:24:34.272 | INFO  [alembic.runtime.migration] Running upgrade fee7b758c130 -> 867bf4f117f9, Adding extra field to Database model
2026-01-30 15:24:34.276 | INFO  [alembic.runtime.migration] Running upgrade 867bf4f117f9 -> bb51420eaf83, add schema to table model
2026-01-30 15:24:34.280 | INFO  [alembic.runtime.migration] Running upgrade bb51420eaf83 -> b4456560d4f3, change_table_unique_constraint
2026-01-30 15:24:34.280 | INFO  [alembic.runtime.migration] Running upgrade b4456560d4f3 -> 4fa88fe24e94, owners_many_to_many
2026-01-30 15:24:34.281 | INFO  [alembic.env] Creating table dashboard_user...
2026-01-30 15:24:34.283 | INFO  [alembic.env] Table dashboard_user created.
2026-01-30 15:24:34.284 | INFO  [alembic.env] Creating table slice_user...
2026-01-30 15:24:34.287 | INFO  [alembic.env] Table slice_user created.
2026-01-30 15:24:34.288 | INFO  [alembic.runtime.migration] Running upgrade 4fa88fe24e94 -> c3a8f8611885, Materializing permission
2026-01-30 15:24:34.292 | INFO  [alembic.runtime.migration] Running upgrade c3a8f8611885 -> f0fbf6129e13, Adding verbose_name to tablecolumn
2026-01-30 15:24:34.295 | INFO  [alembic.runtime.migration] Running upgrade f0fbf6129e13 -> 956a063c52b3, adjusting key length
2026-01-30 15:24:34.312 | INFO  [alembic.runtime.migration] Running upgrade 956a063c52b3 -> 1226819ee0e3, Fix wrong constraint on table columns
2026-01-30 15:24:34.325 | INFO  [alembic.runtime.migration] Running upgrade 1226819ee0e3 -> d8bc074f7aad, Add new field 'is_restricted' to SqlMetric and DruidMetric
2026-01-30 15:24:34.332 | INFO  [alembic.runtime.migration] Running upgrade d8bc074f7aad -> 27ae655e4247, Make creator owners
2026-01-30 15:24:34.335 | INFO  [alembic.runtime.migration] Running upgrade 27ae655e4247 -> 960c69cb1f5b, add dttm_format related fields in table_columns
2026-01-30 15:24:34.341 | INFO  [alembic.runtime.migration] Running upgrade 960c69cb1f5b -> f162a1dea4c4, d3format_by_metric
2026-01-30 15:24:34.347 | INFO  [alembic.runtime.migration] Running upgrade f162a1dea4c4 -> ad82a75afd82, Update models to support storing the queries.
2026-01-30 15:24:34.348 | INFO  [alembic.env] Creating table query...
2026-01-30 15:24:34.351 | INFO  [alembic.env] Table query created.
2026-01-30 15:24:34.358 | INFO  [alembic.runtime.migration] Running upgrade ad82a75afd82 -> 3c3ffe173e4f, add_sql_string_to_table
2026-01-30 15:24:34.362 | INFO  [alembic.runtime.migration] Running upgrade 3c3ffe173e4f -> 41f6a59a61f2, database options for sql lab
2026-01-30 15:24:34.371 | INFO  [alembic.runtime.migration] Running upgrade 41f6a59a61f2 -> 4500485bde7d, allow_run_sync_async
2026-01-30 15:24:34.377 | INFO  [alembic.runtime.migration] Running upgrade 4500485bde7d -> 65903709c321, allow_dml
2026-01-30 15:24:34.381 | INFO  [alembic.runtime.migration] Running upgrade 41f6a59a61f2 -> 33d996bcc382, update slice model
2026-01-30 15:24:34.385 | INFO  [alembic.runtime.migration] Running upgrade 33d996bcc382, 65903709c321 -> b347b202819b, empty message
2026-01-30 15:24:34.386 | INFO  [alembic.runtime.migration] Running upgrade b347b202819b -> 5e4a03ef0bf0, Add access_request table to manage requests to access datastores.
2026-01-30 15:24:34.386 | INFO  [alembic.env] Creating table access_request...
2026-01-30 15:24:34.389 | INFO  [alembic.env] Table access_request created.
2026-01-30 15:24:34.389 | INFO  [alembic.runtime.migration] Running upgrade 5e4a03ef0bf0 -> eca4694defa7, sqllab_setting_defaults
2026-01-30 15:24:34.390 | INFO  [alembic.runtime.migration] Running upgrade eca4694defa7 -> ab3d66c4246e, add_cache_timeout_to_druid_cluster
2026-01-30 15:24:34.393 | INFO  [alembic.runtime.migration] Running upgrade eca4694defa7 -> 3b626e2a6783, Sync DB with the models.py.
2026-01-30 15:24:34.426 | INFO  [alembic.runtime.migration] Running upgrade 3b626e2a6783, ab3d66c4246e -> ef8843b41dac, empty message
2026-01-30 15:24:34.426 | INFO  [alembic.runtime.migration] Running upgrade ef8843b41dac -> b46fa1b0b39e, Add json_metadata to the tables table.
2026-01-30 15:24:34.430 | INFO  [alembic.runtime.migration] Running upgrade b46fa1b0b39e -> 7e3ddad2a00b, results_key to query
2026-01-30 15:24:34.433 | INFO  [alembic.runtime.migration] Running upgrade 7e3ddad2a00b -> ad4d656d92bc, Add avg() to default metrics
2026-01-30 15:24:34.438 | INFO  [alembic.runtime.migration] Running upgrade ad4d656d92bc -> c611f2b591b8, dim_spec
2026-01-30 15:24:34.441 | INFO  [alembic.runtime.migration] Running upgrade c611f2b591b8 -> e46f2d27a08e, materialize perms
2026-01-30 15:24:34.450 | INFO  [alembic.runtime.migration] Running upgrade e46f2d27a08e -> f1f2d4af5b90, Enable Filter Select
2026-01-30 15:24:34.456 | INFO  [alembic.runtime.migration] Running upgrade e46f2d27a08e -> 525c854f0005, log_this_plus
2026-01-30 15:24:34.462 | INFO  [alembic.runtime.migration] Running upgrade 525c854f0005, f1f2d4af5b90 -> 6414e83d82b7, empty message
2026-01-30 15:24:34.463 | INFO  [alembic.runtime.migration] Running upgrade 6414e83d82b7 -> 1296d28ec131, Adds params to the datasource (druid) table
2026-01-30 15:24:34.465 | INFO  [alembic.runtime.migration] Running upgrade 1296d28ec131 -> f18570e03440, Add index on the result key to the query table.
2026-01-30 15:24:34.468 | INFO  [alembic.runtime.migration] Running upgrade f18570e03440 -> bcf3126872fc, Add keyvalue table
2026-01-30 15:24:34.469 | INFO  [alembic.env] Creating table keyvalue...
2026-01-30 15:24:34.470 | INFO  [alembic.env] Table keyvalue created.
2026-01-30 15:24:34.470 | INFO  [alembic.runtime.migration] Running upgrade f18570e03440 -> db0c65b146bd, update_slice_model_json
2026-01-30 15:24:34.471 | INFO  [alembic.runtime.migration] Running upgrade db0c65b146bd -> a99f2f7c195a, rewriting url from shortener with new format
2026-01-30 15:24:34.472 | INFO  [alembic.runtime.migration] Running upgrade a99f2f7c195a, bcf3126872fc -> d6db5a5cdb5d, empty message
2026-01-30 15:24:34.473 | INFO  [alembic.runtime.migration] Running upgrade d6db5a5cdb5d -> b318dfe5fb6c, adding verbose_name to druid column
2026-01-30 15:24:34.477 | INFO  [alembic.runtime.migration] Running upgrade d6db5a5cdb5d -> 732f1c06bcbf, add fetch values predicate
2026-01-30 15:24:34.483 | INFO  [alembic.runtime.migration] Running upgrade 732f1c06bcbf, b318dfe5fb6c -> ea033256294a, empty message
2026-01-30 15:24:34.483 | INFO  [alembic.runtime.migration] Running upgrade b318dfe5fb6c -> db527d8c4c78, Add verbose name to DruidCluster and Database
2026-01-30 15:24:34.496 | INFO  [alembic.runtime.migration] Running upgrade db527d8c4c78, ea033256294a -> 979c03af3341, empty message
2026-01-30 15:24:34.496 | INFO  [alembic.runtime.migration] Running upgrade 979c03af3341 -> a6c18f869a4e, query.start_running_time
2026-01-30 15:24:34.500 | INFO  [alembic.runtime.migration] Running upgrade a6c18f869a4e -> 2fcdcb35e487, saved_queries
2026-01-30 15:24:34.506 | INFO  [alembic.runtime.migration] Running upgrade 2fcdcb35e487 -> a65458420354, add_result_backend_time_logging
2026-01-30 15:24:34.511 | INFO  [alembic.runtime.migration] Running upgrade a65458420354 -> ca69c70ec99b, tracking_url
2026-01-30 15:24:34.515 | INFO  [alembic.runtime.migration] Running upgrade ca69c70ec99b -> a9c47e2c1547, add impersonate_user to dbs
2026-01-30 15:24:34.521 | INFO  [alembic.runtime.migration] Running upgrade ca69c70ec99b -> ddd6ebdd853b, annotations
2026-01-30 15:24:34.521 | INFO  [alembic.env] Creating table annotation_layer...
2026-01-30 15:24:34.526 | INFO  [alembic.env] Table annotation_layer created.
2026-01-30 15:24:34.526 | INFO  [alembic.env] Creating table annotation...
2026-01-30 15:24:34.530 | INFO  [alembic.env] Table annotation created.
2026-01-30 15:24:34.535 | INFO  [alembic.runtime.migration] Running upgrade a9c47e2c1547, ddd6ebdd853b -> d39b1e37131d, empty message
2026-01-30 15:24:34.535 | INFO  [alembic.runtime.migration] Running upgrade ca69c70ec99b -> 19a814813610, Adding metric warning_text
2026-01-30 15:24:34.540 | INFO  [alembic.runtime.migration] Running upgrade 19a814813610, a9c47e2c1547 -> 472d2f73dfd4, empty message
2026-01-30 15:24:34.540 | INFO  [alembic.runtime.migration] Running upgrade 472d2f73dfd4, d39b1e37131d -> f959a6652acd, empty message
2026-01-30 15:24:34.541 | INFO  [alembic.runtime.migration] Running upgrade f959a6652acd -> 4736ec66ce19, empty message
2026-01-30 15:24:34.590 | INFO  [alembic.runtime.migration] Running upgrade 4736ec66ce19 -> 67a6ac9b727b, update_spatial_params
2026-01-30 15:24:34.591 | INFO  [alembic.runtime.migration] Running upgrade 67a6ac9b727b -> 21e88bc06c02, migrate_old_annotation_layers
2026-01-30 15:24:34.593 | INFO  [alembic.runtime.migration] Running upgrade 21e88bc06c02 -> e866bd2d4976, smaller_grid
2026-01-30 15:24:34.594 | INFO  [alembic.runtime.migration] Running upgrade e866bd2d4976 -> e68c4473c581, allow_multi_schema_metadata_fetch
2026-01-30 15:24:34.597 | INFO  [alembic.runtime.migration] Running upgrade e68c4473c581 -> f231d82b9b26, empty message
2026-01-30 15:24:34.614 | INFO  [alembic.runtime.migration] Running upgrade f231d82b9b26 -> bf706ae5eb46, cal_heatmap_metric_to_metrics
2026-01-30 15:24:34.616 | INFO  [alembic.runtime.migration] Running upgrade f231d82b9b26 -> 30bb17c0dc76, empty message
2026-01-30 15:24:34.620 | INFO  [alembic.runtime.migration] Running upgrade 30bb17c0dc76, bf706ae5eb46 -> c9495751e314, empty message
2026-01-30 15:24:34.621 | INFO  [alembic.runtime.migration] Running upgrade f231d82b9b26 -> 130915240929, is_sqllab_view
2026-01-30 15:24:34.627 | INFO  [alembic.runtime.migration] Running upgrade 130915240929, c9495751e314 -> 5ccf602336a0, empty message
2026-01-30 15:24:34.627 | INFO  [alembic.runtime.migration] Running upgrade 5ccf602336a0 -> e502db2af7be, add template_params to tables
2026-01-30 15:24:34.630 | INFO  [alembic.runtime.migration] Running upgrade e502db2af7be -> c5756bec8b47, Time grain SQLA
2026-01-30 15:24:34.631 | INFO  [alembic.runtime.migration] Running upgrade c5756bec8b47 -> afb7730f6a9c, remove empty filters
2026-01-30 15:24:34.632 | INFO  [alembic.runtime.migration] Running upgrade afb7730f6a9c -> 80a67c5192fa, single pie chart metric
2026-01-30 15:24:34.633 | INFO  [alembic.runtime.migration] Running upgrade 80a67c5192fa -> bddc498dd179, adhoc filters
2026-01-30 15:24:34.634 | INFO  [alembic.runtime.migration] Running upgrade bddc498dd179 -> 4451805bbaa1, remove double percents
2026-01-30 15:24:34.636 | INFO  [alembic.runtime.migration] Running upgrade bddc498dd179 -> 3dda56f1c4c6, Migrate num_period_compare and period_ratio_type
2026-01-30 15:24:34.637 | INFO  [alembic.runtime.migration] Running upgrade 3dda56f1c4c6 -> 1d9e835a84f9, empty message
2026-01-30 15:24:34.640 | INFO  [alembic.runtime.migration] Running upgrade 4451805bbaa1, 1d9e835a84f9 -> e3970889f38e, empty message
2026-01-30 15:24:34.640 | INFO  [alembic.runtime.migration] Running upgrade 4451805bbaa1, 1d9e835a84f9 -> 705732c70154, empty message
2026-01-30 15:24:34.641 | INFO  [alembic.runtime.migration] Running upgrade 4451805bbaa1, 1d9e835a84f9 -> fc480c87706c, empty message
2026-01-30 15:24:34.641 | INFO  [alembic.runtime.migration] Running upgrade fc480c87706c -> bebcf3fed1fe, Migrate dashboard position_json data from V1 to V2
2026-01-30 15:24:34.643 | INFO  [alembic.runtime.migration] Running upgrade bebcf3fed1fe, 705732c70154 -> ec1f88a35cc6, empty message
2026-01-30 15:24:34.643 | INFO  [alembic.runtime.migration] Running upgrade 705732c70154, e3970889f38e -> 46ba6aaaac97, empty message
2026-01-30 15:24:34.644 | INFO  [alembic.runtime.migration] Running upgrade 46ba6aaaac97, ec1f88a35cc6 -> c18bd4186f15, empty message
2026-01-30 15:24:34.645 | INFO  [alembic.runtime.migration] Running upgrade c18bd4186f15 -> 7fcdcde0761c, Reduce position_json size by remove extra space and component id prefix
2026-01-30 15:24:34.646 | INFO  [alembic.runtime.migration] Running upgrade 7fcdcde0761c -> 0c5070e96b57, add user attributes table
2026-01-30 15:24:34.651 | INFO  [alembic.runtime.migration] Running upgrade 0c5070e96b57 -> 1a1d627ebd8e, position_json
2026-01-30 15:24:34.654 | INFO  [alembic.runtime.migration] Running upgrade 1a1d627ebd8e -> 55e910a74826, add_metadata_column_to_annotation_model.py
2026-01-30 15:24:34.657 | INFO  [alembic.runtime.migration] Running upgrade 55e910a74826 -> 4ce8df208545, empty message
2026-01-30 15:24:34.658 | INFO  [alembic.runtime.migration] Running upgrade 4ce8df208545 -> 46f444d8b9b7, remove_coordinator_from_druid_cluster_model.py
2026-01-30 15:24:34.669 | INFO  [alembic.runtime.migration] Running upgrade 46f444d8b9b7 -> a61b40f9f57f, remove allow_run_sync
2026-01-30 15:24:34.673 | INFO  [alembic.runtime.migration] Running upgrade a61b40f9f57f -> 6c7537a6004a, models for email reports
2026-01-30 15:24:34.675 | INFO  [alembic.env] Creating table dashboard_email_schedules...
2026-01-30 15:24:34.679 | INFO  [alembic.env] Table dashboard_email_schedules created.
2026-01-30 15:24:34.683 | INFO  [alembic.env] Creating table slice_email_schedules...
2026-01-30 15:24:34.687 | INFO  [alembic.env] Table slice_email_schedules created.
2026-01-30 15:24:34.692 | INFO  [alembic.runtime.migration] Running upgrade 6c7537a6004a -> 3e1b21cd94a4, change_owner_to_m2m_relation_on_datasources.py
2026-01-30 15:24:34.693 | INFO  [alembic.env] Creating table sqlatable_user...
2026-01-30 15:24:34.695 | INFO  [alembic.env] Table sqlatable_user created.
2026-01-30 15:24:34.695 | INFO  [alembic.env] Creating table druiddatasource_user...
2026-01-30 15:24:34.698 | INFO  [alembic.env] Table druiddatasource_user created.
2026-01-30 15:24:34.712 | INFO  [alembic.runtime.migration] Running upgrade 6c7537a6004a -> cefabc8f7d38, Increase size of name column in ab_view_menu
2026-01-30 15:24:34.714 | INFO  [alembic.runtime.migration] Running upgrade 55e910a74826 -> 0b1f1ab473c0, Add extra column to Query
2026-01-30 15:24:34.719 | INFO  [alembic.runtime.migration] Running upgrade 0b1f1ab473c0, cefabc8f7d38, 3e1b21cd94a4 -> de021a1ca60d, empty message
2026-01-30 15:24:34.719 | INFO  [alembic.runtime.migration] Running upgrade de021a1ca60d -> fb13d49b72f9, better_filters
2026-01-30 15:24:34.721 | INFO  [alembic.runtime.migration] Running upgrade fb13d49b72f9 -> a33a03f16c4a, Add extra column to SavedQuery
2026-01-30 15:24:34.726 | INFO  [alembic.runtime.migration] Running upgrade 4451805bbaa1, 1d9e835a84f9 -> c829ff0b37d0, empty message
2026-01-30 15:24:34.727 | INFO  [alembic.runtime.migration] Running upgrade c829ff0b37d0 -> 7467e77870e4, remove_aggs
2026-01-30 15:24:34.764 | INFO  [alembic.runtime.migration] Running upgrade 7467e77870e4, de021a1ca60d -> fbd55e0f83eb, empty message
2026-01-30 15:24:34.764 | INFO  [alembic.runtime.migration] Running upgrade fbd55e0f83eb, fb13d49b72f9 -> 8b70aa3d0f87, empty message
2026-01-30 15:24:34.765 | INFO  [alembic.runtime.migration] Running upgrade 8b70aa3d0f87, a33a03f16c4a -> 18dc26817ad2, empty message
2026-01-30 15:24:34.766 | INFO  [alembic.runtime.migration] Running upgrade 18dc26817ad2 -> c617da68de7d, form nullable
2026-01-30 15:24:34.774 | INFO  [alembic.runtime.migration] Running upgrade c617da68de7d -> c82ee8a39623, Add implicit tags
2026-01-30 15:24:34.783 | INFO  [alembic.runtime.migration] Running upgrade 18dc26817ad2 -> e553e78e90c5, add_druid_auth_py.py
2026-01-30 15:24:34.790 | INFO  [alembic.runtime.migration] Running upgrade e553e78e90c5, c82ee8a39623 -> 45e7da7cfeba, empty message
2026-01-30 15:24:34.791 | INFO  [alembic.runtime.migration] Running upgrade 45e7da7cfeba -> 80aa3f04bc82, Add Parent ids in dashboard layout metadata
2026-01-30 15:24:34.792 | INFO  [alembic.runtime.migration] Running upgrade 80aa3f04bc82 -> d94d33dbe938, form strip
2026-01-30 15:24:34.798 | INFO  [alembic.runtime.migration] Running upgrade d94d33dbe938 -> 937d04c16b64, update datasources
2026-01-30 15:24:34.803 | INFO  [alembic.runtime.migration] Running upgrade 937d04c16b64 -> 7f2635b51f5d, update base columns
2026-01-30 15:24:34.821 | INFO  [alembic.runtime.migration] Running upgrade 7f2635b51f5d -> e9df189e5c7e, update base metrics
2026-01-30 15:24:34.859 | INFO  [alembic.runtime.migration] Running upgrade e9df189e5c7e -> afc69274c25a, update the sql, select_sql, and executed_sql columns in the
2026-01-30 15:24:34.859 |    query table in mysql dbs to be long text columns
2026-01-30 15:24:34.885 | INFO  [alembic.runtime.migration] Running upgrade afc69274c25a -> d7c1a0d6f2da, Remove limit used from query model
2026-01-30 15:24:34.889 | INFO  [alembic.runtime.migration] Running upgrade d7c1a0d6f2da -> ab8c66efdd01, resample
2026-01-30 15:24:34.890 | INFO  [alembic.runtime.migration] Running upgrade ab8c66efdd01 -> b4a38aa87893, deprecate database expression
2026-01-30 15:24:34.893 | INFO  [alembic.runtime.migration] Running upgrade b4a38aa87893 -> d6ffdf31bdd4, Add published column to dashboards
2026-01-30 15:24:34.896 | INFO  [alembic.runtime.migration] Running upgrade d6ffdf31bdd4 -> 190188938582, Remove duplicated entries in dashboard_slices table and add unique constraint
2026-01-30 15:24:34.902 | INFO  [alembic.runtime.migration] Running upgrade 190188938582 -> def97f26fdfb, Add index to tagged_object
2026-01-30 15:24:34.907 | INFO  [alembic.runtime.migration] Running upgrade def97f26fdfb -> 11c737c17cc6, deprecate_restricted_metrics
2026-01-30 15:24:34.913 | INFO  [alembic.runtime.migration] Running upgrade 11c737c17cc6 -> 258b5280a45e, form strip leading and trailing whitespace
2026-01-30 15:24:34.920 | INFO  [alembic.runtime.migration] Running upgrade 258b5280a45e -> 1495eb914ad3, time range
2026-01-30 15:24:34.921 | INFO  [alembic.runtime.migration] Running upgrade 1495eb914ad3 -> b6fa807eac07, make_names_non_nullable
2026-01-30 15:24:34.960 | INFO  [alembic.runtime.migration] Running upgrade b6fa807eac07 -> cca2f5d568c8, add encrypted_extra to dbs
2026-01-30 15:24:34.963 | INFO  [alembic.runtime.migration] Running upgrade cca2f5d568c8 -> c2acd2cf3df2, alter type of dbs encrypted_extra
2026-01-30 15:24:34.971 | INFO  [alembic.runtime.migration] Running upgrade c2acd2cf3df2 -> 78ee127d0d1d, reconvert legacy filters into adhoc
2026-01-30 15:24:34.972 | INFO  [alembic.runtime.migration] Running upgrade 78ee127d0d1d -> db4b49eb0782, Add tables for SQL Lab state
2026-01-30 15:24:34.973 | INFO  [alembic.env] Creating table tab_state...
2026-01-30 15:24:34.980 | INFO  [alembic.env] Table tab_state created.
2026-01-30 15:24:34.984 | INFO  [alembic.env] Creating table table_schema...
2026-01-30 15:24:34.988 | INFO  [alembic.env] Table table_schema created.
2026-01-30 15:24:34.992 | INFO  [alembic.runtime.migration] Running upgrade db4b49eb0782 -> 5afa9079866a, serialize_schema_permissions.py
2026-01-30 15:24:35.003 | INFO  [alembic.runtime.migration] Running upgrade 5afa9079866a -> 89115a40e8ea, Change table schema description to long text
2026-01-30 15:24:35.012 | INFO  [alembic.runtime.migration] Running upgrade 89115a40e8ea -> 817e1c9b09d0, add_not_null_to_dbs_sqlalchemy_url
2026-01-30 15:24:35.021 | INFO  [alembic.runtime.migration] Running upgrade 817e1c9b09d0 -> e96dbf2cfef0, datasource_cluster_fk
2026-01-30 15:24:35.057 | INFO  [alembic.runtime.migration] Running upgrade e96dbf2cfef0 -> 3325d4caccc8, empty message
2026-01-30 15:24:35.059 | INFO  [alembic.runtime.migration] Running upgrade 3325d4caccc8 -> 0a6f12f60c73, add_role_level_security
2026-01-30 15:24:35.059 | INFO  [alembic.env] Creating table row_level_security_filters...
2026-01-30 15:24:35.063 | INFO  [alembic.env] Table row_level_security_filters created.
2026-01-30 15:24:35.063 | INFO  [alembic.env] Creating table rls_filter_roles...
2026-01-30 15:24:35.067 | INFO  [alembic.env] Table rls_filter_roles created.
2026-01-30 15:24:35.068 | INFO  [alembic.runtime.migration] Running upgrade 0a6f12f60c73 -> 72428d1ea401, Add tmp_schema_name to the query object.
2026-01-30 15:24:35.072 | INFO  [alembic.runtime.migration] Running upgrade 72428d1ea401 -> b5998378c225, add certificate to dbs
2026-01-30 15:24:35.076 | INFO  [alembic.runtime.migration] Running upgrade b5998378c225 -> f9a30386bd74, cleanup_time_granularity
2026-01-30 15:24:35.077 | INFO  [alembic.runtime.migration] Running upgrade f9a30386bd74 -> 620241d1153f, update time_grain_sqla
2026-01-30 15:24:35.079 | INFO  [alembic.runtime.migration] Running upgrade 620241d1153f -> 743a117f0d98, Add slack to the schedule
2026-01-30 15:24:35.086 | INFO  [alembic.runtime.migration] Running upgrade 743a117f0d98 -> e557699a813e, add_tables_relation_to_row_level_security
2026-01-30 15:24:35.087 | INFO  [alembic.env] Creating table rls_filter_tables...
2026-01-30 15:24:35.093 | INFO  [alembic.env] Table rls_filter_tables created.
2026-01-30 15:24:35.104 | INFO  [alembic.runtime.migration] Running upgrade e557699a813e -> ea396d202291, Add ctas_method to the Query object
2026-01-30 15:24:35.110 | INFO  [alembic.runtime.migration] Running upgrade ea396d202291 -> a72cb0ebeb22, deprecate dbs.perm column
2026-01-30 15:24:35.114 | INFO  [alembic.runtime.migration] Running upgrade a72cb0ebeb22 -> 2f1d15e8a6af, add_alerts
2026-01-30 15:24:35.114 | INFO  [alembic.env] Creating table alerts...
2026-01-30 15:24:35.119 | INFO  [alembic.env] Table alerts created.
2026-01-30 15:24:35.125 | INFO  [alembic.env] Creating table alert_logs...
2026-01-30 15:24:35.127 | INFO  [alembic.env] Table alert_logs created.
2026-01-30 15:24:35.127 | INFO  [alembic.env] Creating table alert_owner...
2026-01-30 15:24:35.131 | INFO  [alembic.env] Table alert_owner created.
2026-01-30 15:24:35.132 | INFO  [alembic.runtime.migration] Running upgrade 2f1d15e8a6af -> f2672aa8350a, add_slack_to_alerts
2026-01-30 15:24:35.134 | INFO  [alembic.runtime.migration] Running upgrade f2672aa8350a -> f120347acb39, Add extra column to tables and metrics
2026-01-30 15:24:35.141 | INFO  [alembic.runtime.migration] Running upgrade f2672aa8350a -> 978245563a02, Migrate iframe in dashboard to markdown component
2026-01-30 15:24:35.146 | INFO  [alembic.runtime.migration] Running upgrade 978245563a02, f120347acb39 -> f80a3b88324b, empty message
2026-01-30 15:24:35.146 | INFO  [alembic.runtime.migration] Running upgrade f80a3b88324b -> 2e5a0ee25ed4, refractor_alerting
2026-01-30 15:24:35.147 | INFO  [alembic.env] Creating table alert_validators...
2026-01-30 15:24:35.150 | INFO  [alembic.env] Table alert_validators created.
2026-01-30 15:24:35.150 | INFO  [alembic.env] Creating table sql_observers...
2026-01-30 15:24:35.154 | INFO  [alembic.env] Table sql_observers created.
2026-01-30 15:24:35.155 | INFO  [alembic.env] Creating table sql_observations...
2026-01-30 15:24:35.158 | INFO  [alembic.env] Table sql_observations created.
2026-01-30 15:24:35.204 | INFO  [alembic.runtime.migration] Running upgrade f80a3b88324b -> 175ea3592453, Add cache to datasource lookup table.
2026-01-30 15:24:35.204 | INFO  [alembic.env] Creating table cache_keys...
2026-01-30 15:24:35.206 | INFO  [alembic.env] Table cache_keys created.
2026-01-30 15:24:35.210 | INFO  [alembic.runtime.migration] Running upgrade 175ea3592453, 2e5a0ee25ed4 -> ae19b4ee3692, empty message
2026-01-30 15:24:35.211 | INFO  [alembic.runtime.migration] Running upgrade ae19b4ee3692 -> e5ef6828ac4e, add rls filter type and grouping key
2026-01-30 15:24:35.223 | INFO  [alembic.runtime.migration] Running upgrade e5ef6828ac4e -> 3fbbc6e8d654, fix data access permissions for virtual datasets
2026-01-30 15:24:35.227 | INFO  [alembic.runtime.migration] Running upgrade 3fbbc6e8d654 -> 18532d70ab98, Delete table_name unique constraint in mysql
2026-01-30 15:24:35.230 | INFO  [alembic.runtime.migration] Running upgrade 18532d70ab98 -> b56500de1855, add_uuid_column_to_import_mixin
2026-01-30 15:24:35.321 | INFO  [alembic.runtime.migration] Running upgrade b56500de1855 -> af30ca79208f, Collapse alerting models into a single one
2026-01-30 15:24:35.360 | INFO  [alembic.runtime.migration] Running upgrade af30ca79208f -> 585b0b1a7b18, add exec info to saved queries
2026-01-30 15:24:35.367 | INFO  [alembic.runtime.migration] Running upgrade 585b0b1a7b18 -> 96e99fb176a0, add_import_mixing_to_saved_query
2026-01-30 15:24:35.376 | INFO  [alembic.runtime.migration] Running upgrade 96e99fb176a0 -> 49b5a32daba5, add report schedules
2026-01-30 15:24:35.376 | INFO  [alembic.env] Creating table report_schedule...
2026-01-30 15:24:35.382 | INFO  [alembic.env] Table report_schedule created.
2026-01-30 15:24:35.392 | INFO  [alembic.env] Creating table report_execution_log...
2026-01-30 15:24:35.394 | INFO  [alembic.env] Table report_execution_log created.
2026-01-30 15:24:35.394 | INFO  [alembic.env] Creating table report_recipient...
2026-01-30 15:24:35.398 | INFO  [alembic.env] Table report_recipient created.
2026-01-30 15:24:35.398 | INFO  [alembic.env] Creating table report_schedule_user...
2026-01-30 15:24:35.401 | INFO  [alembic.env] Table report_schedule_user created.
2026-01-30 15:24:35.401 | INFO  [alembic.runtime.migration] Running upgrade 49b5a32daba5 -> a8173232b786, Add path to logs
2026-01-30 15:24:35.402 | INFO  [alembic.runtime.migration] Running upgrade a8173232b786 -> e38177dbf641, security converge saved queries
2026-01-30 15:24:35.414 | INFO  [alembic.runtime.migration] Running upgrade e38177dbf641 -> 8ee129739cf9, security converge css templates
2026-01-30 15:24:35.419 | INFO  [alembic.runtime.migration] Running upgrade 8ee129739cf9 -> 811494c0cc23, Remove path, path_no_int, and ref from logs
2026-01-30 15:24:35.420 | INFO  [alembic.runtime.migration] Running upgrade 811494c0cc23 -> 5daced1f0e76, reports add working_timeout column
2026-01-30 15:24:35.425 | INFO  [alembic.runtime.migration] Running upgrade 5daced1f0e76 -> 40f16acf1ba7, security converge reports
2026-01-30 15:24:35.430 | INFO  [alembic.runtime.migration] Running upgrade 40f16acf1ba7 -> ccb74baaa89b, security converge charts
2026-01-30 15:24:35.436 | INFO  [alembic.runtime.migration] Running upgrade ccb74baaa89b -> c25cb2c78727, security converge annotations
2026-01-30 15:24:35.441 | INFO  [alembic.runtime.migration] Running upgrade c25cb2c78727 -> 45731db65d9c, security converge datasets
2026-01-30 15:24:35.447 | INFO  [alembic.runtime.migration] Running upgrade 45731db65d9c -> 4b84f97828aa, security converge logs
2026-01-30 15:24:35.450 | INFO  [alembic.runtime.migration] Running upgrade 4b84f97828aa -> 1f6dca87d1a2, security converge dashboards
2026-01-30 15:24:35.456 | INFO  [alembic.runtime.migration] Running upgrade 1f6dca87d1a2 -> 42b4c9e01447, security converge databases
2026-01-30 15:24:35.460 | INFO  [alembic.runtime.migration] Running upgrade 42b4c9e01447 -> e37912a26567, security converge queries
2026-01-30 15:24:35.462 | INFO  [alembic.runtime.migration] Running upgrade e37912a26567 -> ab104a954a8f, reports alter crontab size
2026-01-30 15:24:35.473 | INFO  [alembic.runtime.migration] Running upgrade ab104a954a8f -> 73fd22e742ab, add_dynamic_plugins.py
2026-01-30 15:24:35.480 | INFO  [alembic.runtime.migration] Running upgrade 73fd22e742ab -> c878781977c6, alert reports shared uniqueness
2026-01-30 15:24:35.490 | INFO  [alembic.runtime.migration] Running upgrade c878781977c6 -> 260bf0649a77, migrate [x dateunit] to [x dateunit ago/later]
2026-01-30 15:24:35.493 | INFO  [alembic.runtime.migration] Running upgrade 260bf0649a77 -> e11ccdd12658, add roles relationship to dashboard
2026-01-30 15:24:35.493 | INFO  [alembic.env] Creating table dashboard_roles...
2026-01-30 15:24:35.496 | INFO  [alembic.env] Table dashboard_roles created.
2026-01-30 15:24:35.496 | INFO  [alembic.runtime.migration] Running upgrade e11ccdd12658 -> 41ce8799acc3, rename pie label type
2026-01-30 15:24:35.497 | INFO  [alembic.runtime.migration] Running upgrade 41ce8799acc3 -> 070c043f2fdb, add granularity to charts where missing
2026-01-30 15:24:35.498 | INFO  [alembic.runtime.migration] Running upgrade 070c043f2fdb -> c501b7c653a3, add missing uuid column
2026-01-30 15:24:35.499 | INFO  [alembic.env] Table dbs already has uuid column, skipping...
2026-01-30 15:24:35.499 | INFO  [alembic.env] Table dashboards already has uuid column, skipping...
2026-01-30 15:24:35.500 | INFO  [alembic.env] Table slices already has uuid column, skipping...
2026-01-30 15:24:35.500 | INFO  [alembic.env] Table tables already has uuid column, skipping...
2026-01-30 15:24:35.500 | INFO  [alembic.env] Table table_columns already has uuid column, skipping...
2026-01-30 15:24:35.501 | INFO  [alembic.env] Table sql_metrics already has uuid column, skipping...
2026-01-30 15:24:35.501 | INFO  [alembic.env] Table clusters already has uuid column, skipping...
2026-01-30 15:24:35.501 | INFO  [alembic.env] Table datasources already has uuid column, skipping...
2026-01-30 15:24:35.501 | INFO  [alembic.env] Table columns already has uuid column, skipping...
2026-01-30 15:24:35.502 | INFO  [alembic.env] Table metrics already has uuid column, skipping...
2026-01-30 15:24:35.502 | INFO  [alembic.env] Table dashboard_email_schedules already has uuid column, skipping...
2026-01-30 15:24:35.502 | INFO  [alembic.env] Table slice_email_schedules already has uuid column, skipping...
2026-01-30 15:24:35.505 | INFO  [alembic.runtime.migration] Running upgrade c501b7c653a3 -> 1412ec1e5a7b, legacy force directed to echart
2026-01-30 15:24:35.506 | INFO  [alembic.runtime.migration] Running upgrade 1412ec1e5a7b -> 67da9ef1ef9c, add hide_left_bar to tabstate
2026-01-30 15:24:35.513 | INFO  [alembic.runtime.migration] Running upgrade 67da9ef1ef9c -> 989bbe479899, rename_filter_configuration_in_dashboard_metadata.py
2026-01-30 15:24:35.516 | INFO  [alembic.runtime.migration] Running upgrade 989bbe479899 -> 301362411006, add_execution_id_to_report_execution_log_model.py
2026-01-30 15:24:35.519 | INFO  [alembic.runtime.migration] Running upgrade 301362411006 -> 134cea61c5e7, remove dataset health check message
2026-01-30 15:24:35.520 | INFO  [alembic.runtime.migration] Running upgrade 134cea61c5e7 -> 085f06488938, Country map use lowercase country name
2026-01-30 15:24:35.522 | INFO  [alembic.runtime.migration] Running upgrade 085f06488938 -> fc3a3a8ff221, migrate filter sets to new format
2026-01-30 15:24:35.523 | INFO  [alembic.runtime.migration] Running upgrade fc3a3a8ff221 -> 19e978e1b9c3, add_report_format_to_report_schedule_model.py
2026-01-30 15:24:35.526 | INFO  [alembic.runtime.migration] Running upgrade 19e978e1b9c3 -> d416d0d715cc, add_limiting_factor_column_to_query_model.py
2026-01-30 15:24:35.531 | INFO  [alembic.runtime.migration] Running upgrade d416d0d715cc -> f1410ed7ec95, migrate native filters to new schema
2026-01-30 15:24:35.533 | INFO  [alembic.runtime.migration] Running upgrade f1410ed7ec95 -> 453530256cea, add_save_form_column_to_db_model
2026-01-30 15:24:35.537 | INFO  [alembic.runtime.migration] Running upgrade 453530256cea -> 3317e9248280, add_creation_method_to_reports_model
2026-01-30 15:24:35.545 | INFO  [alembic.runtime.migration] Running upgrade 3317e9248280 -> 030c840e3a1c, Add query context to slices
2026-01-30 15:24:35.549 | INFO  [alembic.runtime.migration] Running upgrade 030c840e3a1c -> ae1ed299413b, add_timezone_to_report_schedule
2026-01-30 15:24:35.553 | INFO  [alembic.runtime.migration] Running upgrade ae1ed299413b -> 31b2a1039d4a, drop tables constraint
2026-01-30 15:24:35.554 | INFO  [alembic.runtime.migration] Running upgrade 31b2a1039d4a -> e323605f370a, fix schemas_allowed_for_csv_upload
2026-01-30 15:24:35.662 | INFO  [alembic.runtime.migration] Running upgrade e323605f370a -> 143b6f2815da, migrate pivot table v2 heatmaps to new format
2026-01-30 15:24:35.664 | INFO  [alembic.runtime.migration] Running upgrade 143b6f2815da -> f6196627326f, update chart permissions
2026-01-30 15:24:35.666 | INFO  [alembic.runtime.migration] Running upgrade f6196627326f -> 6d20ba9ecb33, add_last_saved_at_to_slice_model
2026-01-30 15:24:35.682 | INFO  [alembic.runtime.migration] Running upgrade 6d20ba9ecb33 -> 07071313dd52, change_fetch_values_predicate_to_text
2026-01-30 15:24:35.692 | INFO  [alembic.runtime.migration] Running upgrade 07071313dd52 -> 021b81fe4fbb, Add type to native filter configuration
2026-01-30 15:24:35.692 | INFO  [alembic.env] [AddTypeToNativeFilter] Starting upgrade
2026-01-30 15:24:35.692 | INFO  [alembic.env] [AddTypeToNativeFilter] Done!
2026-01-30 15:24:35.693 | INFO  [alembic.runtime.migration] Running upgrade 021b81fe4fbb -> 181091c0ef16, add_extra_column_to_columns_model
2026-01-30 15:24:35.697 | INFO  [alembic.runtime.migration] Running upgrade 181091c0ef16 -> 3ebe0993c770, add filter set model
2026-01-30 15:24:35.697 | INFO  [alembic.env] Creating table filter_sets...
2026-01-30 15:24:35.702 | INFO  [alembic.env] Table filter_sets created.
2026-01-30 15:24:35.702 | INFO  [alembic.runtime.migration] Running upgrade 3ebe0993c770 -> 60dc453f4e2e, migrate timeseries_limit_metric to legacy_order_by in pivot_table_v2
2026-01-30 15:24:35.705 | INFO  [alembic.runtime.migration] Running upgrade 60dc453f4e2e -> 32646df09c64, update time grain SQLA
2026-01-30 15:24:35.706 | INFO  [alembic.runtime.migration] Running upgrade 32646df09c64 -> f9847149153d, add_certifications_columns_to_slice
2026-01-30 15:24:35.713 | INFO  [alembic.runtime.migration] Running upgrade f9847149153d -> aea15018d53b, add_certifications_columns_to_dashboard
2026-01-30 15:24:35.721 | INFO  [alembic.runtime.migration] Running upgrade aea15018d53b -> b92d69a6643c, rename_csv_to_file
2026-01-30 15:24:35.729 | INFO  [alembic.runtime.migration] Running upgrade b92d69a6643c -> 0ca9e5f1dacd, rename to schemas_allowed_for_file_upload in dbs.extra
2026-01-30 15:24:35.730 | INFO  [alembic.runtime.migration] Running upgrade 0ca9e5f1dacd -> abe27eaf93db, add_extra_config_column_to_alerts
2026-01-30 15:24:35.747 | INFO  [alembic.runtime.migration] Running upgrade abe27eaf93db -> 3ba29ecbaac5, Change datatype of type in BaseColumn
2026-01-30 15:24:35.758 | INFO  [alembic.runtime.migration] Running upgrade 3ba29ecbaac5 -> fe23025b9441, rename_big_viz_total_form_data_fields
2026-01-30 15:24:35.759 | INFO  [alembic.runtime.migration] Running upgrade fe23025b9441 -> 31bb738bd1d2, move_pivot_table_v2_legacy_order_by_to_timeseries_limit_metric
2026-01-30 15:24:35.760 | INFO  [alembic.runtime.migration] Running upgrade 31bb738bd1d2 -> bb38f40aa3ff, Add force_screenshot to alerts/reports
2026-01-30 15:24:35.765 | INFO  [alembic.runtime.migration] Running upgrade bb38f40aa3ff -> c53bae8f08dd, add_saved_query_foreign_key_to_tab_state
2026-01-30 15:24:35.779 | INFO  [alembic.runtime.migration] Running upgrade c53bae8f08dd -> 5fd49410a97a, Add columns for external management
2026-01-30 15:24:35.809 | INFO  [alembic.runtime.migration] Running upgrade 5fd49410a97a -> 5afbb1a5849b, add_embedded_dashboard_table
2026-01-30 15:24:35.810 | INFO  [alembic.env] Creating table embedded_dashboards...
2026-01-30 15:24:35.813 | INFO  [alembic.env] Table embedded_dashboards created.
2026-01-30 15:24:35.814 | INFO  [alembic.runtime.migration] Running upgrade 5afbb1a5849b -> b8d3a24d9131, New dataset models
2026-01-30 15:24:35.814 | INFO  [alembic.runtime.migration] Running upgrade b8d3a24d9131 -> b5a422d8e252, fix query and saved_query null schema
2026-01-30 15:24:35.816 | INFO  [alembic.runtime.migration] Running upgrade b5a422d8e252 -> ab9a9d86e695, deprecate time_range_endpoints
2026-01-30 15:24:35.817 | INFO  [alembic.runtime.migration] Running upgrade ab9a9d86e695 -> 7293b0ca7944, change_adhoc_filter_b_from_none_to_empty_array
2026-01-30 15:24:35.818 | INFO  [alembic.runtime.migration] Running upgrade 7293b0ca7944 -> 6766938c6065, add key-value store
2026-01-30 15:24:35.818 | INFO  [alembic.env] Creating table key_value...
2026-01-30 15:24:35.821 | INFO  [alembic.env] Table key_value created.
2026-01-30 15:24:35.829 | INFO  [alembic.runtime.migration] Running upgrade 6766938c6065 -> 58df9d617f14, add_on_saved_query_delete_tab_state_null_constraint"
2026-01-30 15:24:35.843 | INFO  [alembic.runtime.migration] Running upgrade 58df9d617f14 -> 2ed890b36b94, rm_time_range_endpoints_from_qc
2026-01-30 15:24:35.844 | INFO  [alembic.runtime.migration] Running upgrade 2ed890b36b94 -> b0d0249074e4, deprecate time_range_endpoints v2
2026-01-30 15:24:35.845 | INFO  [alembic.runtime.migration] Running upgrade 2ed890b36b94 -> 8b841273bec3, sql_lab_models_database_constraint_updates
2026-01-30 15:24:35.882 | INFO  [alembic.runtime.migration] Running upgrade 8b841273bec3, b0d0249074e4 -> 9d8a8d575284, merge point
2026-01-30 15:24:35.882 | INFO  [alembic.runtime.migration] Running upgrade 9d8a8d575284 -> cecc6bf46990, rm_time_range_endpoints_2
2026-01-30 15:24:35.882 | INFO  [alembic.runtime.migration] Running upgrade cecc6bf46990 -> ad07e4fdbaba, rm_time_range_endpoints_from_qc_3
2026-01-30 15:24:35.884 | INFO  [alembic.runtime.migration] Running upgrade ad07e4fdbaba -> a9422eeaae74, new_dataset_models_take_2
2026-01-30 15:24:35.929 | INFO  [alembic.runtime.migration] Running upgrade a9422eeaae74 -> cbe71abde154, fix report schedule and execution log
2026-01-30 15:24:35.931 | INFO  [alembic.runtime.migration] Running upgrade cbe71abde154 -> 6f139c533bea, adding advanced data type to column models
2026-01-30 15:24:35.940 | INFO  [alembic.runtime.migration] Running upgrade 6f139c533bea -> e786798587de, Delete None permissions
2026-01-30 15:24:35.945 | INFO  [alembic.runtime.migration] Running upgrade e786798587de -> e09b4ae78457, Resize key_value blob
2026-01-30 15:24:35.954 | INFO  [alembic.runtime.migration] Running upgrade e09b4ae78457 -> f3afaf1f11f0, add_unique_name_desc_rls
2026-01-30 15:24:35.977 | INFO  [alembic.runtime.migration] Running upgrade f3afaf1f11f0 -> 7fb8bca906d2, permalink_rename_filterState
2026-01-30 15:24:35.979 | INFO  [alembic.runtime.migration] Running upgrade 7fb8bca906d2 -> cdcf3d64daf4, Add user_id and dttm composite index to Log model
2026-01-30 15:24:35.980 | INFO  [alembic.env] Creating index ix_logs_user_id_dttm on table logs
2026-01-30 15:24:35.986 | INFO  [alembic.runtime.migration] Running upgrade cdcf3d64daf4 -> c747c78868b6, Migrating legacy TreeMap
2026-01-30 15:24:36.008 | INFO  [alembic.runtime.migration] Running upgrade c747c78868b6 -> 06e1e70058c7, Migrating legacy Area
2026-01-30 15:24:36.009 | INFO  [alembic.runtime.migration] Running upgrade 06e1e70058c7 -> a39867932713, query_context_to_mediumtext
2026-01-30 15:24:36.015 | INFO  [alembic.runtime.migration] Running upgrade a39867932713 -> 409c7b420ab0, add created_by_fk as owner
2026-01-30 15:24:36.019 | INFO  [alembic.runtime.migration] Running upgrade 409c7b420ab0 -> ffa79af61a56, rename report_schedule.extra to extra_json
2026-01-30 15:24:36.029 | INFO  [alembic.runtime.migration] Running upgrade ffa79af61a56 -> 6d3c6f9d665d, fix_table_chart_conditional_formatting_colors
2026-01-30 15:24:36.031 | INFO  [alembic.runtime.migration] Running upgrade 6d3c6f9d665d -> 291f024254b5, drop_column_allow_multi_schema_metadata_fetch
2026-01-30 15:24:36.035 | INFO  [alembic.runtime.migration] Running upgrade 291f024254b5 -> deb4c9d4a4ef, parameters in saved queries
2026-01-30 15:24:36.038 | INFO  [alembic.runtime.migration] Running upgrade deb4c9d4a4ef -> 4ce1d9b25135, remove_filter_bar_orientation
2026-01-30 15:24:36.038 | INFO  [alembic.runtime.migration] Running upgrade 4ce1d9b25135 -> f3c2d8ec8595, create_ssh_tunnel_credentials_tbl
2026-01-30 15:24:36.039 | INFO  [alembic.env] Creating table ssh_tunnels...
2026-01-30 15:24:36.050 | INFO  [alembic.env] Table ssh_tunnels created.
2026-01-30 15:24:36.051 | INFO  [alembic.runtime.migration] Running upgrade f3c2d8ec8595 -> 9c2a5681ddfd, convert key-value entries to json
2026-01-30 15:24:36.053 | INFO  [alembic.runtime.migration] Running upgrade 9c2a5681ddfd -> c0a3ea245b61, remove_show_native_filters
2026-01-30 15:24:36.054 | INFO  [alembic.runtime.migration] Running upgrade c0a3ea245b61 -> d0ac08bb5b83, invert_horizontal_bar_chart_order
2026-01-30 15:24:36.056 | INFO  [alembic.runtime.migration] Running upgrade d0ac08bb5b83 -> b5ea9d343307, bar_chart_stack_options
2026-01-30 15:24:36.057 | INFO  [alembic.runtime.migration] Running upgrade b5ea9d343307 -> 07f9a902af1b, drop postgres enum constrains for tags
2026-01-30 15:24:36.057 | INFO  [alembic.runtime.migration] Running upgrade 07f9a902af1b -> 7e67aecbf3f1, chart-ds-constraint
2026-01-30 15:24:36.069 | INFO  [alembic.runtime.migration] Running upgrade 7e67aecbf3f1 -> 4ea966691069, cross-filter-global-scoping
2026-01-30 15:24:36.070 | INFO  [alembic.runtime.migration] Running upgrade 4ea966691069 -> 9ba2ce3086e5, migrate-pivot-table-v1-to-v2
2026-01-30 15:24:36.071 | INFO  [alembic.runtime.migration] Running upgrade 9ba2ce3086e5 -> 4c5da39be729, migrate_treemap_chart
2026-01-30 15:24:36.078 | INFO  [alembic.runtime.migration] Running upgrade 4c5da39be729 -> ae58e1e58e5c, migrate_dual_line_to_mixed_chart
2026-01-30 15:24:36.079 | INFO  [alembic.runtime.migration] Running upgrade ae58e1e58e5c -> 83e1abbe777f, drop access_request
2026-01-30 15:24:36.080 | INFO  [alembic.runtime.migration] Running upgrade 83e1abbe777f -> 90139bf715e4, add_currency_column_to_metrics
2026-01-30 15:24:36.081 | INFO  [alembic.env] Adding column currency to table metrics...
2026-01-30 15:24:36.084 | INFO  [alembic.env] Adding column currency to table sql_metrics...
2026-01-30 15:24:36.088 | INFO  [alembic.runtime.migration] Running upgrade 90139bf715e4 -> 6fbe660cac39, add on delete cascade for tables references
2026-01-30 15:24:36.133 | INFO  [alembic.runtime.migration] Running upgrade 6fbe660cac39 -> 8e5b0fb85b9a, Add custom size columns to report schedule
2026-01-30 15:24:36.139 | INFO  [alembic.runtime.migration] Running upgrade 8e5b0fb85b9a -> 240d23c7f86f, update_tag_model_w_description
2026-01-30 15:24:36.143 | INFO  [alembic.runtime.migration] Running upgrade 240d23c7f86f -> f92a3124dd66, drop rouge constraints and tables
2026-01-30 15:24:36.160 | INFO  [alembic.runtime.migration] Running upgrade f92a3124dd66 -> 6d05b0a70c89, add on delete cascade for owners references
2026-01-30 15:24:36.217 | INFO  [alembic.runtime.migration] Running upgrade 6d05b0a70c89 -> 863adcf72773, delete obsolete Druid NoSQL slice parameters
2026-01-30 15:24:36.218 | INFO  [alembic.runtime.migration] Running upgrade 863adcf72773 -> a23c6f8b1280, cleanup erroneous parent filter IDs
2026-01-30 15:24:36.219 | INFO  [alembic.runtime.migration] Running upgrade a23c6f8b1280 -> bf646a0c1501, json_metadata
2026-01-30 15:24:36.224 | INFO  [alembic.runtime.migration] Running upgrade bf646a0c1501 -> e0f6f91c2055, create_user_favorite_table
2026-01-30 15:24:36.224 | INFO  [alembic.env] Creating table user_favorite_tag...
2026-01-30 15:24:36.229 | INFO  [alembic.env] Table user_favorite_tag created.
2026-01-30 15:24:36.230 | INFO  [alembic.runtime.migration] Running upgrade e0f6f91c2055 -> ee179a490af9, deckgl-path-width-units
2026-01-30 15:24:36.231 | INFO  [alembic.runtime.migration] Running upgrade ee179a490af9 -> 0769ef90fddd, Fix schema perm for datasets
2026-01-30 15:24:36.235 | INFO  [alembic.runtime.migration] Running upgrade 0769ef90fddd -> 2e826adca42c, Fix schema for log
2026-01-30 15:24:36.238 | INFO  [alembic.runtime.migration] Running upgrade 2e826adca42c -> 8ace289026f3, add on delete cascade for dashboard_slices
2026-01-30 15:24:36.260 | INFO  [alembic.runtime.migration] Running upgrade 8ace289026f3 -> 4448fa6deeb1, add on delete cascade for embedded_dashboards
2026-01-30 15:24:36.270 | INFO  [alembic.runtime.migration] Running upgrade 4448fa6deeb1 -> 9f4a086c2676, add_normalize_columns_to_sqla_model
2026-01-30 15:24:36.277 | INFO  [alembic.runtime.migration] Running upgrade 9f4a086c2676 -> ec54aca4c8a2, Increase ab_user.email field size
2026-01-30 15:24:36.281 | INFO  [alembic.runtime.migration] Running upgrade ec54aca4c8a2 -> 317970b4400c, Added always_filter_main_dttm to datasource
2026-01-30 15:24:36.287 | INFO  [alembic.runtime.migration] Running upgrade 317970b4400c -> 4b85906e5b91, add on delete cascade for dashboard_roles
2026-01-30 15:24:36.308 | INFO  [alembic.runtime.migration] Running upgrade 4b85906e5b91 -> b7851ee5522f, replay 317970b4400c
2026-01-30 15:24:36.308 | INFO  [alembic.runtime.migration] Running upgrade b7851ee5522f -> 06dd9ff00fe8, add_percent_calculation_type_funnel_chart
2026-01-30 15:24:36.310 | INFO  [alembic.runtime.migration] Running upgrade 06dd9ff00fe8 -> 65a167d4c62e, add indexes to report models
2026-01-30 15:24:36.311 | INFO  [alembic.env] Creating index ix_report_execution_log_report_schedule_id on table report_execution_log
2026-01-30 15:24:36.317 | INFO  [alembic.env] Creating index ix_report_execution_log_start_dttm on table report_execution_log
2026-01-30 15:24:36.321 | INFO  [alembic.env] Creating index ix_report_recipient_report_schedule_id on table report_recipient
2026-01-30 15:24:36.326 | INFO  [alembic.runtime.migration] Running upgrade 65a167d4c62e -> 59a1450b3c10, drop_filter_sets_table
2026-01-30 15:24:36.328 | INFO  [alembic.runtime.migration] Running upgrade 59a1450b3c10 -> a32e0c4d8646, migrate-sunburst-chart
2026-01-30 15:24:36.329 | INFO  [alembic.runtime.migration] Running upgrade 59a1450b3c10 -> 96164e3017c6
2026-01-30 15:24:36.367 | INFO  [alembic.runtime.migration] Running upgrade 96164e3017c6, a32e0c4d8646 -> 15a2c68a2e6b, merging two heads
2026-01-30 15:24:36.367 | INFO  [alembic.runtime.migration] Running upgrade a32e0c4d8646 -> 214f580d09c9, migrate_filter_boxes_to_native_filters
2026-01-30 15:24:36.371 | INFO  [alembic.runtime.migration] Running upgrade 214f580d09c9 -> e863403c0c50, drop_url_table
2026-01-30 15:24:36.373 | INFO  [alembic.runtime.migration] Running upgrade e863403c0c50, 15a2c68a2e6b -> 1cf8e4344e2b, merging
2026-01-30 15:24:36.373 | INFO  [alembic.runtime.migration] Running upgrade 1cf8e4344e2b -> 87d38ad83218, Migrate can_view_and_drill permission
2026-01-30 15:24:36.377 | INFO  [alembic.runtime.migration] Running upgrade 87d38ad83218 -> 17fcea065655, change_text_to_mediumtext
2026-01-30 15:24:36.440 | INFO  [alembic.runtime.migration] Running upgrade 17fcea065655 -> be1b217cd8cd, big_number_kpi_single_metric
2026-01-30 15:24:36.443 | INFO  [alembic.runtime.migration] Running upgrade be1b217cd8cd -> 678eefb4ab44, Add access token table
2026-01-30 15:24:36.443 | INFO  [alembic.env] Creating table database_user_oauth2_tokens...
2026-01-30 15:24:36.450 | INFO  [alembic.env] Table database_user_oauth2_tokens created.
2026-01-30 15:24:36.450 | INFO  [alembic.env] Creating index idx_user_id_database_id on table database_user_oauth2_tokens
2026-01-30 15:24:36.454 | INFO  [alembic.runtime.migration] Running upgrade 678eefb4ab44 -> c22cb5c2e546, empty message
2026-01-30 15:24:36.454 | INFO  [alembic.env] Adding column avatar_url to table user_attribute...
2026-01-30 15:24:36.458 | INFO  [alembic.runtime.migration] Running upgrade c22cb5c2e546 -> 5ad7321c2169, mig new csv upload perm
2026-01-30 15:24:36.461 | INFO  [alembic.runtime.migration] Running upgrade 5ad7321c2169 -> d60591c5515f, mig new excel upload perm
2026-01-30 15:24:36.465 | INFO  [alembic.runtime.migration] Running upgrade d60591c5515f -> 5f57af97bc3f, Add catalog column
2026-01-30 15:24:36.465 | INFO  [alembic.env] Adding column catalog to table tables...
2026-01-30 15:24:36.468 | INFO  [alembic.env] Adding column catalog to table query...
2026-01-30 15:24:36.472 | INFO  [alembic.env] Adding column catalog to table saved_query...
2026-01-30 15:24:36.475 | INFO  [alembic.env] Adding column catalog to table tab_state...
2026-01-30 15:24:36.478 | INFO  [alembic.env] Adding column catalog to table table_schema...
2026-01-30 15:24:36.481 | INFO  [alembic.runtime.migration] Running upgrade 5f57af97bc3f -> 3dfd0e78650e, add_query_sql_editor_id_index
2026-01-30 15:24:36.481 | INFO  [alembic.env] Creating index ix_sql_editor_id on table query
2026-01-30 15:24:36.487 | INFO  [alembic.runtime.migration] Running upgrade 5f57af97bc3f -> 4a33124c18ad, mig new columnar upload perm
2026-01-30 15:24:36.490 | INFO  [alembic.runtime.migration] Running upgrade 4a33124c18ad -> 58d051681a3b, Add catalog_perm to tables
2026-01-30 15:24:36.490 | INFO  [alembic.env] Adding column catalog_perm to table tables...
2026-01-30 15:24:36.493 | INFO  [alembic.env] Adding column catalog_perm to table slices...
2026-01-30 15:24:36.498 | INFO  [alembic.runtime.migration] Running upgrade 58d051681a3b, 3dfd0e78650e -> 645bb206f96c, empty message
2026-01-30 15:24:36.499 | INFO  [alembic.runtime.migration] Running upgrade 645bb206f96c -> 4081be5b6b74, Enable catalog in Databricks
2026-01-30 15:24:36.500 | INFO  [alembic.runtime.migration] Running upgrade 4081be5b6b74 -> 87ffc36f9842, Enable catalog in BigQuery/Presto/Trino/Snowflake
2026-01-30 15:24:36.501 | INFO  [alembic.runtime.migration] Running upgrade 87ffc36f9842 -> 9621c6d56ffb, add subject column to report schedule
2026-01-30 15:24:36.505 | INFO  [alembic.runtime.migration] Running upgrade 9621c6d56ffb -> f84fde59123a, Update charts with old time comparison controls
2026-01-30 15:24:36.507 | INFO  [alembic.runtime.migration] Running upgrade f84fde59123a -> f7b6750b67e8, change_mediumtext_to_longtext
2026-01-30 15:24:36.507 | Revision ID: f7b6750b67e8
2026-01-30 15:24:36.507 | Revises: f84fde59123a
2026-01-30 15:24:36.507 | Create Date: 2024-05-09 19:19:46.630140
2026-01-30 15:24:36.509 | INFO  [alembic.runtime.migration] Running upgrade f7b6750b67e8 -> 02f4f7811799, remove sl_dataset_columns tables
2026-01-30 15:24:36.509 | INFO  [alembic.env] Dropping foreign key sl_dataset_columns_ibfk_2 from table sl_dataset_columns...
2026-01-30 15:24:36.512 | INFO  [alembic.env] Dropping foreign key sl_dataset_columns_ibfk_1 from table sl_dataset_columns...
2026-01-30 15:24:36.516 | INFO  [alembic.runtime.migration] Running upgrade 02f4f7811799 -> 39549add7bfc, remove sl_table_columns_table
2026-01-30 15:24:36.517 | INFO  [alembic.env] Dropping foreign key sl_table_columns_ibfk_2 from table sl_table_columns...
2026-01-30 15:24:36.521 | INFO  [alembic.env] Dropping foreign key sl_table_columns_ibfk_1 from table sl_table_columns...
2026-01-30 15:24:36.526 | INFO  [alembic.runtime.migration] Running upgrade 39549add7bfc -> 38f4144e8558, remove sl_dataset_tables
2026-01-30 15:24:36.527 | INFO  [alembic.env] Dropping foreign key sl_dataset_tables_ibfk_1 from table sl_dataset_tables...
2026-01-30 15:24:36.530 | INFO  [alembic.env] Dropping foreign key sl_dataset_tables_ibfk_2 from table sl_dataset_tables...
2026-01-30 15:24:36.534 | INFO  [alembic.runtime.migration] Running upgrade 38f4144e8558 -> e53fd48cc078, remove sl_dataset_users
2026-01-30 15:24:36.535 | INFO  [alembic.env] Dropping foreign key sl_dataset_users_ibfk_2 from table sl_dataset_users...
2026-01-30 15:24:36.538 | INFO  [alembic.env] Dropping foreign key sl_dataset_users_ibfk_1 from table sl_dataset_users...
2026-01-30 15:24:36.542 | INFO  [alembic.runtime.migration] Running upgrade e53fd48cc078 -> a6b32d2d07b1, remove sl_columns
2026-01-30 15:24:36.542 | INFO  [alembic.env] Dropping foreign key sl_columns_ibfk_2 from table sl_columns...
2026-01-30 15:24:36.545 | INFO  [alembic.env] Dropping foreign key sl_columns_ibfk_1 from table sl_columns...
2026-01-30 15:24:36.550 | INFO  [alembic.runtime.migration] Running upgrade a6b32d2d07b1 -> 007a1abffe7e, remove sl_tables
2026-01-30 15:24:36.550 | INFO  [alembic.env] Dropping foreign key sl_tables_ibfk_3 from table sl_tables...
2026-01-30 15:24:36.554 | INFO  [alembic.env] Dropping foreign key sl_tables_ibfk_2 from table sl_tables...
2026-01-30 15:24:36.557 | INFO  [alembic.env] Dropping foreign key sl_tables_ibfk_1 from table sl_tables...
2026-01-30 15:24:36.561 | INFO  [alembic.runtime.migration] Running upgrade 007a1abffe7e -> 48cbb571fa3a, remove sl_datasets
2026-01-30 15:24:36.562 | INFO  [alembic.env] Dropping foreign key sl_datasets_ibfk_3 from table sl_datasets...
2026-01-30 15:24:36.566 | INFO  [alembic.env] Dropping foreign key sl_datasets_ibfk_1 from table sl_datasets...
2026-01-30 15:24:36.568 | INFO  [alembic.env] Dropping foreign key sl_datasets_ibfk_2 from table sl_datasets...
2026-01-30 15:24:36.574 | INFO  [alembic.runtime.migration] Running upgrade 48cbb571fa3a -> 7b17aa722e30, UUIDMixin
2026-01-30 15:24:36.574 | INFO  [alembic.env] Adding column uuid to table css_templates...
2026-01-30 15:24:36.577 | INFO  [alembic.env] Adding column uuid to table favstar...
2026-01-30 15:24:36.581 | INFO  [alembic.runtime.migration] Running upgrade 48cbb571fa3a -> df3d7e2eb9a4, Remove _customer_location_uc
2026-01-30 15:24:36.582 | INFO  [alembic.runtime.migration] Running upgrade df3d7e2eb9a4, 7b17aa722e30 -> eb1c288c71c4, empty message
2026-01-30 15:24:36.582 | INFO  [alembic.runtime.migration] Running upgrade eb1c288c71c4 -> d482d51c15ca, remove_legacy_plugins_5_0
2026-01-30 15:24:36.586 | INFO  [alembic.runtime.migration] Running upgrade d482d51c15ca -> 74ad1125881c, converge_upload_permissions
2026-01-30 15:24:36.592 | INFO  [alembic.env] Going to delete pvm: can_csv_upload Database
2026-01-30 15:24:36.594 | INFO  [alembic.env] Going to delete permission: can_csv_upload
2026-01-30 15:24:36.595 | INFO  [alembic.env] Going to delete pvm: can_excel_upload Database
2026-01-30 15:24:36.596 | INFO  [alembic.env] Going to delete permission: can_excel_upload
2026-01-30 15:24:36.596 | INFO  [alembic.env] Going to delete pvm: can_columnar_upload Database
2026-01-30 15:24:36.597 | INFO  [alembic.env] Going to delete permission: can_columnar_upload
2026-01-30 15:24:36.599 | INFO  [alembic.runtime.migration] Running upgrade 74ad1125881c -> 94e7a3499973, Add folders column to datasets
2026-01-30 15:24:36.599 | INFO  [alembic.env] Adding column folders to table tables...
2026-01-30 15:24:36.603 | INFO  [alembic.runtime.migration] Running upgrade 94e7a3499973 -> 32bf93dfe2a4, Add on cascade to foreign keys in ab_permission_view_role and ab_user_role
2026-01-30 15:24:36.603 | INFO  [alembic.env] Creating foreign key ab_permission_view_role_role_id_fkey on table ab_permission_view_role...
2026-01-30 15:24:36.612 | INFO  [alembic.env] Creating foreign key ab_permission_view_role_permission_view_id_fkey on table ab_permission_view_role...
2026-01-30 15:24:36.622 | INFO  [alembic.env] Creating foreign key ab_user_role_user_id_fkey on table ab_user_role...
2026-01-30 15:24:36.631 | INFO  [alembic.env] Creating foreign key ab_user_role_role_id_fkey on table ab_user_role...
2026-01-30 15:24:36.639 | INFO  [alembic.runtime.migration] Running upgrade 32bf93dfe2a4 -> 378cecfdba9f, merge_x_axis_sort_series_with_x_axis_sort
2026-01-30 15:24:36.642 | INFO  [alembic.runtime.migration] Running upgrade 378cecfdba9f -> f1edd4a4d4f2, metric currency should be JSON
2026-01-30 15:24:36.656 | INFO  [alembic.runtime.migration] Running upgrade f1edd4a4d4f2 -> 363a9b1e8992, convert_metric_currencies_from_str_to_json
2026-01-30 15:24:36.658 | INFO  [alembic.runtime.migration] Running upgrade 363a9b1e8992 -> 3fd555e76e3d, theme_crud
2026-01-30 15:24:36.659 | INFO  [alembic.env] Creating table themes...
2026-01-30 15:24:36.662 | INFO  [alembic.env] Table themes created.
2026-01-30 15:24:36.662 | INFO  [alembic.env] Creating foreign key fk_themes_created_by_fk_ab_user on table themes...
2026-01-30 15:24:36.667 | INFO  [alembic.env] Creating foreign key fk_themes_changed_by_fk_ab_user on table themes...
2026-01-30 15:24:36.676 | INFO  [alembic.runtime.migration] Running upgrade 3fd555e76e3d -> cd1fb11291f2, add theme_id to dashboard model
2026-01-30 15:24:36.677 | INFO  [alembic.env] Adding column theme_id to table dashboards...
2026-01-30 15:24:36.680 | INFO  [alembic.env] Creating foreign key fk_dashboards_theme_id_themes on table dashboards...
2026-01-30 15:24:36.692 | INFO  [alembic.runtime.migration] Running upgrade cd1fb11291f2 -> c233f5365c9e, is_system_default-is_system_dark
2026-01-30 15:24:36.692 | INFO  [alembic.env] Adding column is_system_default to table themes...
2026-01-30 15:24:36.693 | INFO  [alembic.env] Adding column is_system_dark to table themes...
2026-01-30 15:24:36.718 | INFO  [alembic.env] Creating index idx_theme_is_system_default on table themes
2026-01-30 15:24:36.725 | INFO  [alembic.env] Creating index idx_theme_is_system_dark on table themes
2026-01-30 15:24:36.733 | INFO  [alembic.env] Migration scripts completed. Duration: 00:00:02

@bito-code-review
Copy link
Contributor

bito-code-review bot commented Jan 30, 2026

Code Review Agent Run #398bc1

Actionable Suggestions - 0
Review Details
  • Files reviewed - 3 · Commit Range: d844998..cce1894
    • superset/extensions/__init__.py
    • superset/utils/database.py
    • tests/unit_tests/utils/test_database.py
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • MyPy (Static Code Analysis) - ✔︎ Successful
    • Astral Ruff (Static Code Analysis) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:connect:mariadb Related to a specific database size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant