Closed pdesmarets closed 4 years ago
Did you try to use the command?
On Sun, 25 Aug 2019 at 19:25, Pascal Desmarets notifications@github.com wrote:
Viewer 0.1.3 is installed and enabled. Parquet-tools is in the path. But I still see gibberish. What am I doing wrong?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dvirtz/vscode-parquet-viewer/issues/6?email_source=notifications&email_token=AB2ORDPLTQ6JEBUMVBHMFMDQGKXABA5CNFSM4IPJRB4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHHXWPQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AB2ORDJDTUZRTSRYCACK7EDQGKXABANCNFSM4IPJRB4A .
Thanks for your quick response. Yes, I did with same result unfortunately.
Both VS Code and parquet-tools (as downloaded from git) are in Windows PATH. What else am I missing? Do parquet-tools need to be built?
Can you run parquet-tools from the terminal on that parquet file?
On Mon, 26 Aug 2019 at 09:26, Pascal Desmarets notifications@github.com wrote:
Thanks for your quick response. Yes, I did with same result unfortunately.
[image: image] https://user-images.githubusercontent.com/10139210/63668829-8a613300-c7d8-11e9-9c64-d75458484079.png
Both VS Code and parquet-tools (as downloaded from git) are in Windows PATH. What else am I missing? Do parquet-tools need to be built?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dvirtz/vscode-parquet-viewer/issues/6?email_source=notifications&email_token=AB2ORDLCADP2ZXSQ7GU6OULQGNZP5A5CNFSM4IPJRB4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5DMU3I#issuecomment-524733037, or mute the thread https://github.com/notifications/unsubscribe-auth/AB2ORDIJP6YSSHQUE4SBLZTQGNZP5ANCNFSM4IPJRB4A .
No, I'm getting the error parquet-tools : The term 'parquet-tools' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
+ CategoryInfo : ObjectNotFound: (parquet-tools:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What is your extension looking for? A .jar or something else?
It's looking for an executable. I'm using the version installed by homebrew which has a bash script under /usr/local/bin/parquet-tools
which contains
#!/bin/bash
exec java -jar /usr/local/Cellar/parquet-tools/1.10.0/libexec/parquet-tools-1.10.0.jar "$@"
I guess adding such a script to your path will do the work.
Closing. Please comment if that still doesn't work.
I was finally able to create a Windows build of parquet-tools. But I still can't make it work in VSC. I'll just continue with the parquet-tools command line. Thanks
In that case I'll keep it open. I'll try to look at it when I'm free.
Version 0.1.4 enables putting the path to a parquet-tools
jar in the settings.
The extension will use this jar in that case.
I've tested it on Windows and it seems to work.
Thanks! I'll take a look.
Viewer 0.1.3 is installed and enabled. Parquet-tools is in the path. But I still see gibberish. What am I doing wrong?