Skip to content

[PECOBLR-860] Bugfix : volume operation#984

Merged
samikshya-db merged 3 commits into
databricks:mainfrom
samikshya-db:samikshya-chand_data/main
Sep 9, 2025
Merged

[PECOBLR-860] Bugfix : volume operation#984
samikshya-db merged 3 commits into
databricks:mainfrom
samikshya-db:samikshya-chand_data/main

Conversation

@samikshya-db
Copy link
Copy Markdown
Collaborator

@samikshya-db samikshya-db commented Sep 8, 2025

Description

  • The bug
    • Current JDBC Repo has a bug, in which volume operations are not executed.
    • Step to reproduce : use a script to generate a large csv file (say 1.5GB), execute the PUT query - you won't be able to see the file uploaded.
    • The customer would have to iterate through the resultSet for the volume operation to be completed. This is the workaround customers can use as of today :
 ResultSet rs = con.createStatement()
            .executeQuery(
                "PUT 'test_csv_files/large_file.csv' INTO '/Volumes/testingcatalog/default/testvol/mytestfolder/test1'");

while(rs.next()){
 //Nothing
}
  • This PR fixes the above issue without the need of any hacky fix.

Testing

  • Tested locally

Additional Notes to the Reviewer

  • This needs to be added to the JDK8 branch as well, will raise a PR for the same

@samikshya-db samikshya-db marked this pull request as ready for review September 8, 2025 18:44
@samikshya-db samikshya-db merged commit c5a757c into databricks:main Sep 9, 2025
12 of 13 checks passed
@samikshya-db samikshya-db deleted the samikshya-chand_data/main branch September 9, 2025 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants