Regression: StackOverflowError processing large Postgres SQL changeset
See original GitHub issueEnvironment
Liquibase Version: 4.1.1
Liquibase Integration & Version: Spring Boot
Database Vendor & Version: Postgres 12.3
Operating System Type & Version: Ubuntu 20.04
Description
There’s a regression after upgrading from 4.1.0
to 4.1.1
that is causing StackOverflowError
while generating Postgres statement during processing a large SQL file-based changeset. It seems to be a regression
introduced in #912 while trying to fix CORE-3379.
Steps To Reproduce
Create a changeset:
<changeSet id="StackOverflowError" author="goostleek">
<sqlFile path="large.sql" relativeToChangelogFile="true"/>
</changeSet>
The sqlFile
is ~200kb. It’s been included in the file in the PR #1508 which introduces a failing unit test presenting the error.
Actual Behavior
StackOverflowError
is thrown during SpringBoot application startup while applying the changest.
Expected/Desired Behavior
The changeset is executed successfully like it was before upgrading to Liquibase 4.1.1.
Additional Context
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
StackOverflowError processing large Postgres SQL changeset
Actual Behavior. StackOverflowError is thrown during SpringBoot application startup while applying the changest. Expected/Desired Behavior. The ...
Read more >Linear regression with postgres - Stack Overflow
Is it possible to directly enter a SQL query that will calculate linear regression per station for each date, knowing that the regression...
Read more >Changelog for skylighting-0.5.0.1 | Hackage
Revision history for skylighting. 0.5.0.1 -- 2017-12-18. Small improvements to fuzz tests in test suite. We now ensure that we print the random...
Read more >PHP 7 ChangeLog
Fixed bug #81500 (Interval serialization regression since 7.3.14 / 7.4.2). ... Fixed bug #81026 (PHP-FPM oob R/W in root process leading to privilege ......
Read more >[Solved]-R - Testing for homo/heteroscedasticity and collinearity in a ...
Coding example for the question R - Testing for homo/heteroscedasticity and collinearity in a multivariate regression model-R.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just wanted to confirm that the solution by @chtibob69 resolves the issues for now. Cheers!
Hi @maksudsharif We are moving it through getting it into a release. I don’t have an ETA yet. In the meantime, I would suggest using the workaround that @chtibob69 mentions.