Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Allow customization of conversion to relative paths #324

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

TEMP: disable relative path filter

8d6dc0c
Select commit
Loading
Failed to load commit list.
Draft

[DRAFT] Allow customization of conversion to relative paths #324

TEMP: disable relative path filter
8d6dc0c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / onetable-io.onetable failed Feb 7, 2024 in 1m 44s

Build #20240207.1 had test failures

Details

Tests

  • Failed: 1 (0.47%)
  • Passed: 211 (99.06%)
  • Other: 1 (0.47%)
  • Total: 213

Annotations

Check failure on line 370 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / onetable-io.onetable

Build log #L370

Build failed.

Check failure on line 1 in applyToFilesNotInSubTree

See this annotation in the file changed.

@azure-pipelines azure-pipelines / onetable-io.onetable

applyToFilesNotInSubTree

expected: <[OneDataFile(schemaVersion=null, physicalPath=abfs://db/table/2019-01/1.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=s3://db/other_table/2020-01/2.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=scheme://db/other_table/1/2/3/4/3.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=file:///db/1.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0)]> but was: <[OneDataFile(schemaVersion=null, physicalPath=2019-01/1.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=table/2020-01/2.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=table/1/2/3/4/3.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=uet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0)]>
Raw output
org.opentest4j.AssertionFailedError: expected: <[OneDataFile(schemaVersion=null, physicalPath=abfs://db/table/2019-01/1.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=s3://db/other_table/2020-01/2.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=scheme://db/other_table/1/2/3/4/3.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=file:///db/1.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0)]> but was: <[OneDataFile(schemaVersion=null, physicalPath=2019-01/1.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=table/2020-01/2.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=table/1/2/3/4/3.parquet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0), OneDataFile(schemaVersion=null, physicalPath=uet, fileFormat=APACHE_PARQUET, partitionValues=[], fileSizeBytes=0, recordCount=0, columnStats=[], lastModified=0)]>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
	at io.onetable.filter.ToRelativePathFilterTest.applyToFilesNotInSubTree(ToRelativePathFilterTest.java:57)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.In