syun64 commented on PR #394:
URL: https://github.com/apache/iceberg-python/pull/394#issuecomment-1934357519

   An issue I'm currently investigating is that 58 breaking changes are being 
reported between 0.5.1 and 0e273ae when the test is run in my local environment.
   
   When test_api.py was first written, it detected just 1 breaking change 
related to the [backward incompatible Daft 
change](https://github.com/apache/iceberg-python/pull/381):
   
   Example stack trace:
   
   ```
   assert not [{'kind': <BreakageKind.ATTRIBUTE_CHANGED_VALUE: 'Attribute value 
was changed'>, 'new_value': ExprDict(keys=['1', '2'], 
values=[ExprCall(function=ExprName(name='StructType', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))),
 arguments=[ExprCall(function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))),
 arguments=[ExprKeyword(name='field_id', value='100', 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='name', value="'file_path'", 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='field_type', 
value=ExprCall(function=ExprName(name='StringType', 
parent=Module(PosixPath('/tmp/griffe
 -worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))), 
arguments=[]), function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='required', value='True', 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='doc', value="'Location URI with FS scheme'", 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))))]),
 ExprCall(function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))),
 arguments=[ExprKeyword(name='field_id', value='101', 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEA
 D/pyiceberg/manifest.py')))), ExprKeyword(name='name', value="'file_format'", 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='field_type', 
value=ExprCall(function=ExprName(name='StringType', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))),
 arguments=[]), function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='required', value='True', 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='doc', value="'File format name: avro, orc, or parquet'", 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyice
 berg/manifest.py'))))]), ExprCall(function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))),
 arguments=[ExprKeyword(name='field_id', value='102', 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='name', value="'partition'", 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='field_type', 
value=ExprCall(function=ExprName(name='StructType', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))),
 arguments=[]), function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='required', value='True'
 , function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='doc', value="'Partition data tuple, schema based on the 
partition spec'", function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))))]),
 ExprCall(function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py'))),
 arguments=[ExprKeyword(name='field_id', value='103', 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='name', value="'record_count'", 
function=ExprName(name='NestedField', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD/pyiceberg/manifest.py')))),
 ExprKeyword(name='field_ty
 pe', value=ExprCall(function=ExprName(name='LongType', 
parent=Module(PosixPath('/tmp/griffe-worktree-iceberg-python-HEAD-1b_iv7st/griffe_HEAD
   ```


-- 
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...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to