Skip to content

Conversation

@mohittilala
Copy link
Contributor

@mohittilala mohittilala commented Nov 30, 2025

Describe your changes:

Fix below test in all python CI,
FAILED ingestion/tests/unit/test_sample_usage.py::QueryParserTest::test_join_count

UPDATE:

This started failing due to breaking changes of latest update sqlparse==0.5.4 (Nov 28, 2025). Additionally, query we have at ingestion/examples/sample_data/datasets/query_log was invalid with ? masking character that bypassed sqlfluff parser and fallback to sqlfluff of this latest version. We didn't face this error earlier since it was handling this invalid query as well but now, we have addressed these both cases.

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@mohittilala mohittilala requested a review from a team as a code owner November 30, 2025 12:37
@mohittilala mohittilala self-assigned this Nov 30, 2025
@github-actions github-actions bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Nov 30, 2025
@mohittilala mohittilala added the To release Will cherry-pick this PR into the release branch label Nov 30, 2025
@mohittilala mohittilala changed the title FIX: Sample usage python tests Fix(test): Sample usage python tests Nov 30, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 1, 2025

@pmbrull pmbrull merged commit 1efaab9 into main Dec 1, 2025
23 of 27 checks passed
@pmbrull pmbrull deleted the test/debug-sample-usage-ci branch December 1, 2025 13:53
@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

Changes have been cherry-picked to the 1.11.0 branch.

github-actions bot pushed a commit that referenced this pull request Dec 1, 2025
* test: add comprehensive debug logging to sample usage test

* Increase default lineage query parsing timeout from 10 to 30 sec

* test: add LineageParser 300s timeout test for CI performance measurement

* test: add lineage parser perf test to main test

* Correct query_log query with correct values and revert all debug code of test

* Revert parsing timeout to 10sec

* Update parsing timeout to 30sec and add debug tests to check time took on query

* Intentional failure to log query parsing time in CI

* Remove debug tests

(cherry picked from commit 1efaab9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ingestion safe to test Add this label to run secure Github workflows on PRs To release Will cherry-pick this PR into the release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants