You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/04/20 21:24:00 UTC
[jira] [Updated] (ARROW-7948) [Go][Integration] Decimal integration
failures
[ https://issues.apache.org/jira/browse/ARROW-7948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-7948:
----------------------------------
Labels: pull-request-available (was: )
> [Go][Integration] Decimal integration failures
> ----------------------------------------------
>
> Key: ARROW-7948
> URL: https://issues.apache.org/jira/browse/ARROW-7948
> Project: Apache Arrow
> Issue Type: Bug
> Components: Go, Integration
> Reporter: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> If I un-skip decimal data for integrations tests with Go, I get some errors such as:
> {code}
> ==========================================================
> Testing file /tmp/tmpkz1_ydgp/generated_decimal.json
> ==========================================================
> -- Creating binary inputs
> -- Validating file
> Traceback (most recent call last):
> File "/arrow/dev/archery/archery/integration/util.py", line 130, in run_cmd
> output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
> File "/opt/conda/envs/arrow/lib/python3.8/subprocess.py", line 411, in check_output
> return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
> File "/opt/conda/envs/arrow/lib/python3.8/subprocess.py", line 512, in run
> raise CalledProcessError(retcode, process.args,
> subprocess.CalledProcessError: Command '['/opt/go/bin/arrow-json-integration-test', '-arrow', '/tmp/tmpj9b4jgvi/10cae236_generated_decimal.json_as_file', '-json', '/tmp/tmpkz1_ydgp/generated_decimal.json', '-mode', 'VALIDATE']' returned non-zero exit status 1.
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
> File "/arrow/dev/archery/archery/integration/runner.py", line 193, in _run_ipc_test_case
> run_binaries(producer, consumer, outcome, test_case)
> File "/arrow/dev/archery/archery/integration/runner.py", line 219, in _produce_consume
> consumer.validate(json_path, producer_file_path)
> File "/arrow/dev/archery/archery/integration/tester_go.py", line 55, in validate
> return self._run(arrow_path, json_path, 'VALIDATE')
> File "/arrow/dev/archery/archery/integration/tester_go.py", line 52, in _run
> run_cmd(cmd)
> File "/arrow/dev/archery/archery/integration/util.py", line 139, in run_cmd
> raise RuntimeError(sio.getvalue())
> RuntimeError: Command failed: ['/opt/go/bin/arrow-json-integration-test', '-arrow', '/tmp/tmpj9b4jgvi/10cae236_generated_decimal.json_as_file', '-json', '/tmp/tmpkz1_ydgp/generated_decimal.json', '-mode', 'VALIDATE']
> With output:
> --------------
> arrow-json: could not open JSON file reader from file "/tmp/tmpkz1_ydgp/generated_decimal.json": json: cannot unmarshal number into Go struct field dataType.precision of type string
> --------------
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)