You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "trxcllnt (via GitHub)" <gi...@apache.org> on 2023/09/06 03:03:33 UTC

[GitHub] [arrow] trxcllnt commented on issue #37575: [Archery][Integration][JS] Consider removing `--write_generated_json` option

trxcllnt commented on issue #37575:
URL: https://github.com/apache/arrow/issues/37575#issuecomment-1707585881

   We [use this argument](https://github.com/apache/arrow/blob/ad7f6ef3a97be6a3eb6fe37d0df1b1634db057d2/js/gulp/test-task.js#L118-L126) to generate the JSON files for debugging the integration tests in isolation. My Union PR updated the logic to just [call the function](https://github.com/apache/arrow/pull/37122/files#diff-c79bbf8ddeec028e14acfc7b1ebbf5378d5e2cb14e8d93e4d898fb421cbd243aR124-R125) directly (and updated the function to generate the current set of files).
   
   It would be great if there was a way to generate these files without needing any of the Python dependencies installed or importing subsets of the integration logic. The only realistic way to debug a failure in the integration suite is to generate the JSON/C++/Java files and run the JS integration test binaries in the debugger. It is prohibitively clunky to connect a debugger to a node process launched by a Python process inside a docker container running the full integration suite.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org