paleolimbot opened a new issue, #46203:
URL: https://github.com/apache/arrow/issues/46203

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Noticed in https://github.com/apache/arrow/pull/45459
   
   Failures: 
https://github.com/apache/arrow/actions/runs/14599230199/job/40952905438?pr=45459#step:11:20046
   
   <details>
   
     ################# FAILURES #################
     FAILED TEST: interval_mdn C++ producing,  JS consuming
     <class 'RuntimeError'>: Command failed: /build/js/bin/integration.ts -a 
/tmp/tmpiwyek077/b0b3ffaf_generated_interval_mdn.json_as_file -j 
/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json --mode VALIDATE
     With output:
     --------------
     
      json: /tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json
     arrow: /tmp/tmpiwyek077/b0b3ffaf_generated_interval_mdn.json_as_file
     Error: json and arrow record batches report the same values: fail 
      Error: 7: -1140614869,1070037076,-754576640,-113383818 !== 
-1140614869,1070037076,-754576668,-113383818
         at file:///build/js/bin/integration.ts:216:23
         at compareVectors (file:///build/js/bin/integration.ts:219:7)
         at file:///build/js/bin/integration.ts:191:13
         at compareTableIsh (file:///build/js/bin/integration.ts:193:7)
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:147:13)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:150:15)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
     
     --------------
     
     
     FAILED TEST: interval_mdn JS producing,  C++ consuming
     <class 'RuntimeError'>: Command failed: 
/build/cpp/debug/arrow-json-integration-test --integration 
--arrow=/tmp/tmpiwyek077/d387af15_generated_interval_mdn.json_as_file 
--json=/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json 
--mode=VALIDATE
     With output:
     --------------
     Error message: Invalid: Record batch 1 did not match
     JSON:
     f1:   [
         null,
         null,
         -774349809M-2039926608d-1563845477666451108ns,
         -139717562M-642592057d7125501686456510607ns,
         -1131942301M-1696756856d7218727058341976912ns,
         null,
         -1217132571M-656887354d8844208202586004940ns,
         -1140614869M1070037076d-486979786665225500ns,
         null,
         861797612M605702568d-5757513755873987991ns
       ]
     
     Arrow:
     f1:   [
         null,
         null,
         -774349809M-2039926608d-1563845477666451108ns,
         -139717562M-642592057d7125501686456510607ns,
         -1131942301M-1696756856d7218727058341976912ns,
         null,
         -1217132571M-656887354d8844208202586004940ns,
         -1140614869M1070037076d-486979786665225472ns,
         null,
         861797612M605702568d-5757513755873987991ns
       ]
     
     
     --------------
     
     
     FAILED TEST: interval_mdn JS producing,  C# consuming
     <class 'RuntimeError'>: Command failed: 
/arrow/csharp/artifacts/Apache.Arrow.IntegrationTest/Debug/net8.0/Apache.Arrow.IntegrationTest
 --mode validate -j /tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json 
-a /tmp/tmpiwyek077/7869f25e_generated_interval_mdn.json_as_file
     With output:
     --------------
     Unhandled exception: Xunit.Sdk.EqualException: Assert.Equal() Failure: 
Values differ
     Expected: Apache.Arrow.Scalars.MonthDayNanosecondInterval
     Actual:   Apache.Arrow.Scalars.MonthDayNanosecondInterval
        at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 
comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 154
        at Xunit.Assert.Equal[T](T expected, T actual) in 
/_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 89
        at 
Apache.Arrow.Tests.ArrowReaderVerifier.ArrayComparer.CompareArrays[T](PrimitiveArray`1
 actualArray) in 
/arrow/csharp/test/Apache.Arrow.Tests/ArrowReaderVerifier.cs:line 410
        at 
Apache.Arrow.Tests.ArrowReaderVerifier.ArrayComparer.Visit(MonthDayNanosecondIntervalArray
 array) in /arrow/csharp/test/Apache.Arrow.Tests/ArrowReaderVerifier.cs:line 149
        at 
Apache.Arrow.MonthDayNanosecondIntervalArray.Accept(IArrowArrayVisitor visitor) 
in /arrow/csharp/src/Apache.Arrow/Arrays/IntervalArray.cs:line 138
        at Apache.Arrow.Tests.ArrowReaderVerifier.CompareArrays(IArrowArray 
expectedArray, IArrowArray actualArray, Boolean strictCompare) in 
/arrow/csharp/test/Apache.Arrow.Tests/ArrowReaderVerifier.cs:line 69
        at Apache.Arrow.Tests.ArrowReaderVerifier.CompareBatches(RecordBatch 
expectedBatch, RecordBatch actualBatch, Boolean strictCompare) in 
/arrow/csharp/test/Apache.Arrow.Tests/ArrowReaderVerifier.cs:line 63
        at Apache.Arrow.IntegrationTest.IntegrationCommand.Validate() in 
/arrow/csharp/test/Apache.Arrow.IntegrationTest/IntegrationCommand.cs:line 90
        at Apache.Arrow.IntegrationTest.IntegrationCommand.Execute() in 
/arrow/csharp/test/Apache.Arrow.IntegrationTest/IntegrationCommand.cs:line 54
        at Apache.Arrow.IntegrationTest.Program.<>c.<<Main>b__0_0>d.MoveNext() 
in /arrow/csharp/test/Apache.Arrow.IntegrationTest/Program.cs:line 49
     --- End of stack trace from previous location ---
        at System.CommandLine.Invocation.CommandHandler.GetExitCodeAsync(Object 
value, InvocationContext context)
        at 
System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext
 context)
        at 
System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
     --- End of stack trace from previous location ---
        at 
System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseParseErrorReporting>b__0>d.MoveNext()
     --- End of stack trace from previous location ---
        at 
System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
     --- End of stack trace from previous location ---
        at 
System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass27_0.<<UseVersionOption>b__1>d.MoveNext()
     --- End of stack trace from previous location ---
        at 
System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseTypoCorrections>b__0>d.MoveNext()
     --- End of stack trace from previous location ---
        at 
System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__24_0>d.MoveNext()
     --- End of stack trace from previous location ---
        at 
System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseParseDirective>b__0>d.MoveNext()
     --- End of stack trace from previous location ---
        at 
System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass11_0.<<UseDebugDirective>b__0>d.MoveNext()
     --- End of stack trace from previous location ---
        at 
System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
     --- End of stack trace from previous location ---
        at 
System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()
     
     --------------
     
     
     FAILED TEST: interval_mdn C# producing,  JS consuming
     <class 'RuntimeError'>: Command failed: /build/js/bin/integration.ts -a 
/tmp/tmpiwyek077/87f34038_generated_interval_mdn.json_as_file -j 
/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json --mode VALIDATE
     With output:
     --------------
     
      json: /tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json
     arrow: /tmp/tmpiwyek077/87f34038_generated_interval_mdn.json_as_file
     Error: json and arrow record batches report the same values: fail 
      Error: 7: -1140614869,1070037076,-754576640,-113383818 !== 
-1140614869,1070037076,-754576668,-113383818
         at file:///build/js/bin/integration.ts:216:23
         at compareVectors (file:///build/js/bin/integration.ts:219:7)
         at file:///build/js/bin/integration.ts:191:13
         at compareTableIsh (file:///build/js/bin/integration.ts:193:7)
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:147:13)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:150:15)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
     
     --------------
     
     
     FAILED TEST: interval_mdn JS producing,  Java consuming
     <class 'RuntimeError'>: Command failed: java 
-Dio.netty.tryReflectionSetAccessible=true 
-Darrow.struct.conflict.policy=CONFLICT_APPEND 
--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED 
-XX:-UsePerfData --add-reads=org.apache.arrow.flight.core=ALL-UNNAMED -cp 
/build/java/tools/target/arrow-tools-19.0.0-SNAPSHOT-jar-with-dependencies.jar 
org.apache.arrow.tools.Integration -a 
/tmp/tmpiwyek077/8acd8a5f_generated_interval_mdn.json_as_file -j 
/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json -c VALIDATE
     With output:
     --------------
     WARNING: Unknown module: org.apache.arrow.flight.core specified to 
--add-reads
     WARNING: Unknown module: org.apache.arrow.memory.core specified to 
--add-opens
     SLF4J(W): No SLF4J providers were found.
     SLF4J(W): Defaulting to no-operation (NOP) logger implementation
     SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further 
details.
     Incompatible files
     Different values in column:
     f1: Interval(MONTH_DAY_NANO) at index 7: P-1140614869M1070037076D 
PT-135272H-9M-46.665225472S != P-1140614869M1070037076D 
PT-135272H-9M-46.6652255S
     
     --------------
     
     
     FAILED TEST: interval_mdn JS producing,  Go consuming
     <class 'RuntimeError'>: Command failed: 
/opt/go/bin/arrow-json-integration-test -arrow 
/tmp/tmpiwyek077/f3893e20_generated_interval_mdn.json_as_file -json 
/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json -mode VALIDATE
     With output:
     --------------
     arrow-json: record batch 1 did not match
     JSON:
     record:
       schema:
       fields: 1
         - f1: type=month_day_nano_interval, nullable
       rows: 10
       col[0][f1]: [(null) (null) {-774349809 -2039926608 -1563845477666451108} 
{-139717562 -642592057 7125501686456510607} {-1131942301 -1696756856 
7218727058341976912} (null) {-1217132571 -656887354 8844208202586004940} 
{-1140614869 1070037076 -486979786665225500} (null) {861797612 605702568 
-5757513755873987991}]
     
     ARROW:
     record:
       schema:
       fields: 1
         - f1: type=month_day_nano_interval, nullable
       rows: 10
       col[0][f1]: [(null) (null) {-774349809 -2039926608 -1563845477666451108} 
{-139717562 -642592057 7125501686456510607} {-1131942301 -1696756856 
7218727058341976912} (null) {-1217132571 -656887354 8844208202586004940} 
{-1140614869 1070037076 -486979786665225472} (null) {861797612 605702568 
-5757513755873987991}]
     
     --------------
     
     
     FAILED TEST: interval_mdn JS producing,  nanoarrow consuming
     <class 'RuntimeError'>: Command failed: 
/build/nanoarrow/nanoarrow_ipc_integration
     With output:
     --------------
     Validating that 
/tmp/tmpiwyek077/4b29feb7_generated_interval_mdn.json_as_file reads identical 
to /tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json
     Command VALIDATE failed (22=Invalid argument): Found 1 differences between 
batches:
     Path: Batch 1.children[0]
     - {"name": "f1", "count": 10, "VALIDITY": [0, 0, 1, 1, 1, 0, 1, 1, 0, 1], 
"DATA": [{"months": 0, "days": 0, "nanoseconds": "0"}, {"months": 0, "days": 0, 
"nanoseconds": "0"}, {"months": -774349809, "days": -2039926608, "nanoseconds": 
"-1563845477666451108"}, {"months": -139717562, "days": -642592057, 
"nanoseconds": "7125501686456510607"}, {"months": -1131942301, "days": 
-1696756856, "nanoseconds": "7218727058341976912"}, {"months": 0, "days": 0, 
"nanoseconds": "0"}, {"months": -1217132571, "days": -656887354, "nanoseconds": 
"8844208202586004940"}, {"months": -1140614869, "days": 1070037076, 
"nanoseconds": "-486979786665225472"}, {"months": 0, "days": 0, "nanoseconds": 
"0"}, {"months": 861797612, "days": 605702568, "nanoseconds": 
"-5757513755873987991"}]}
     + {"name": "f1", "count": 10, "VALIDITY": [0, 0, 1, 1, 1, 0, 1, 1, 0, 1], 
"DATA": [{"months": 0, "days": 0, "nanoseconds": "0"}, {"months": 0, "days": 0, 
"nanoseconds": "0"}, {"months": -77434980
     
     --------------
     
     
     FAILED TEST: interval_mdn JS producing,  Rust consuming
     <class 'RuntimeError'>: Command failed: 
/build/rust/debug/arrow-json-integration-test --integration 
--arrow=/tmp/tmpiwyek077/85ab155e_generated_interval_mdn.json_as_file 
--json=/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json 
--mode=VALIDATE
     With output:
     --------------
     
     thread 'main' panicked at 
arrow-integration-testing/src/bin/arrow-json-integration-test.rs:166:17:
     assertion `left == right` failed: Arrow and JSON batch columns not the same
       left: PrimitiveArray<Interval(MonthDayNano)>
     [
       null,
       null,
       IntervalMonthDayNano { months: -774349809, days: -2039926608, 
nanoseconds: -1563845477666451108 },
       IntervalMonthDayNano { months: -139717562, days: -642592057, 
nanoseconds: 7125501686456510607 },
       IntervalMonthDayNano { months: -1131942301, days: -1696756856, 
nanoseconds: 7218727058341976912 },
       null,
       IntervalMonthDayNano { months: -1217132571, days: -656887354, 
nanoseconds: 8844208202586004940 },
       IntervalMonthDayNano { months: -1140614869, days: 1070037076, 
nanoseconds: -486979786665225472 },
       null,
       IntervalMonthDayNano { months: 861797612, days: 605702568, nanoseconds: 
-5757513755873987991 },
     ]
      right: PrimitiveArray<Interval(MonthDayNano)>
     [
       null,
       null,
       IntervalMonthDayNano { months: -774349809, days: -2039926608, 
nanoseconds: -1563845477666451108 },
       IntervalMonthDayNano { months: -139717562, days: -642592057, 
nanoseconds: 7125501686456510607 },
       IntervalMonthDayNano { months: -1131942301, days: -1696756856, 
nanoseconds: 7218727058341976912 },
       null,
       IntervalMonthDayNano { months: -1217132571, days: -656887354, 
nanoseconds: 8844208202586004940 },
       IntervalMonthDayNano { months: -1140614869, days: 1070037076, 
nanoseconds: -486979786665225500 },
       null,
       IntervalMonthDayNano { months: 861797612, days: 605702568, nanoseconds: 
-5757513755873987991 },
     ]
     note: run with `RUST_BACKTRACE=1` environment variable to display a 
backtrace
     
     --------------
     
     
     FAILED TEST: interval_mdn Java producing,  JS consuming
     <class 'RuntimeError'>: Command failed: /build/js/bin/integration.ts -a 
/tmp/tmpiwyek077/6f7827c1_generated_interval_mdn.json_as_file -j 
/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json --mode VALIDATE
     With output:
     --------------
     
      json: /tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json
     arrow: /tmp/tmpiwyek077/6f7827c1_generated_interval_mdn.json_as_file
     Error: json and arrow record batches report the same values: fail 
      Error: 7: -1140614869,1070037076,-754576640,-113383818 !== 
-1140614869,1070037076,-754576668,-113383818
         at file:///build/js/bin/integration.ts:216:23
         at compareVectors (file:///build/js/bin/integration.ts:219:7)
         at file:///build/js/bin/integration.ts:191:13
         at compareTableIsh (file:///build/js/bin/integration.ts:193:7)
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:147:13)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:150:15)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
     
     --------------
     
     
     FAILED TEST: interval_mdn Go producing,  JS consuming
     <class 'RuntimeError'>: Command failed: /build/js/bin/integration.ts -a 
/tmp/tmpiwyek077/e2af4914_generated_interval_mdn.json_as_file -j 
/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json --mode VALIDATE
     With output:
     --------------
     
      json: /tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json
     arrow: /tmp/tmpiwyek077/e2af4914_generated_interval_mdn.json_as_file
     Error: json and arrow record batches report the same values: fail 
      Error: 7: -1140614869,1070037076,-754576640,-113383818 !== 
-1140614869,1070037076,-754576668,-113383818
         at file:///build/js/bin/integration.ts:216:23
         at compareVectors (file:///build/js/bin/integration.ts:219:7)
         at file:///build/js/bin/integration.ts:191:13
         at compareTableIsh (file:///build/js/bin/integration.ts:193:7)
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:147:13)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:150:15)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
     
     --------------
     
     
     FAILED TEST: interval_mdn nanoarrow producing,  JS consuming
     <class 'RuntimeError'>: Command failed: /build/js/bin/integration.ts -a 
/tmp/tmpiwyek077/38c2e484_generated_interval_mdn.json_as_file -j 
/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json --mode VALIDATE
     With output:
     --------------
     
      json: /tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json
     arrow: /tmp/tmpiwyek077/38c2e484_generated_interval_mdn.json_as_file
     Error: json and arrow record batches report the same values: fail 
      Error: 7: -1140614869,1070037076,-754576640,-113383818 !== 
-1140614869,1070037076,-754576668,-113383818
         at file:///build/js/bin/integration.ts:216:23
         at compareVectors (file:///build/js/bin/integration.ts:219:7)
         at file:///build/js/bin/integration.ts:191:13
         at compareTableIsh (file:///build/js/bin/integration.ts:193:7)
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:147:13)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:150:15)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
     
     --------------
     
     
     FAILED TEST: interval_mdn Rust producing,  JS consuming
     <class 'RuntimeError'>: Command failed: /build/js/bin/integration.ts -a 
/tmp/tmpiwyek077/b6ea7a1d_generated_interval_mdn.json_as_file -j 
/tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json --mode VALIDATE
     With output:
     --------------
     
      json: /tmp/arrow-integration-q4qgxxpr/generated_interval_mdn.json
     arrow: /tmp/tmpiwyek077/b6ea7a1d_generated_interval_mdn.json_as_file
     Error: json and arrow record batches report the same values: fail 
      Error: 7: -1140614869,1070037076,-754576640,-113383818 !== 
-1140614869,1070037076,-754576668,-113383818
         at file:///build/js/bin/integration.ts:216:23
         at compareVectors (file:///build/js/bin/integration.ts:219:7)
         at file:///build/js/bin/integration.ts:191:13
         at compareTableIsh (file:///build/js/bin/integration.ts:193:7)
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:147:13)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
         at validateReaderIntegration 
(file:///build/js/bin/integration.ts:150:15)
         at validate (file:///build/js/bin/integration.ts:134:5)
         at async file:///build/js/bin/integration.ts:59:21
     
     --------------
     
     
   
   
   </details>
   
   ### Component(s)
   
   JavaScript, Integration


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to