Repository navigation
Conversation
Classic tabcmd publishes a .parquet file as an extract, the same way as .hyper (Publish.java maps both to the tde upload slot), and the REST API lists parquet as a datasource file type. tabcmd 2 raised "does not have an appropriate file extension" for .parquet. Publishing sample.parquet to Tableau Cloud with this change succeeds and creates a hyper datasource. .tde stays rejected: Tableau Cloud stopped supporting it in March 2023. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The --filetype metavar read "twb|twbx|tdxs|hyper": fix the tdxs typo and add parquet. Add a test that --append with a .parquet file reaches TSC as an append publish. The REST API rejects append for parquet (INVALID_APPEND_TO_DATASOURCE_FILE_TYPE), so the server reports that case. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tabcmd 2 rejects
tabcmd publish file.parquetwith "does not have an appropriate file extension". Classic accepts it:Publish.javamapshyperandparquetto the same extract upload, and the REST API lists parquet as a datasource file type. Publishing a.parquetto Tableau Cloud with this change succeeds and creates a datasource of typehyper..parquetis accepted inget_filename_extension_if_tableau_typeand published as a datasource, like.hyper.filenameand--filetypehelp text list parquet, and thetdxstypo in--filetypeis fixed..tdeis still rejected: Tableau Cloud stopped supporting it in March 2023, and Cloud rejects a.tdeupload as "not a Hyper database".Behavior to know about
.parquetfiles. The defaults stay*.twb?,*.tdsxand*.hyper. A parquet file is published by name, or with--filetype "*.parquet". Classic has no folder mode.--appendwith a.parquetpasses through to the server, which rejects it (INVALID_APPEND_TO_DATASOURCE_FILE_TYPE), since the REST API doesn't allow appending to parquet.Tests:
.parquetpublishes a datasource and not a workbook, it is accepted as a file type,.tdeis still rejected, and--appendreaches TSC as an append.🤖 Generated with Claude Code