Skip to content

Commit

Permalink
clang format and python lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mxwli committed Mar 27, 2024
1 parent 693cc10 commit 41c7348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/common/arrow/arrow_array_scan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,7 @@ void ArrowConverter::fromArrowArray(const ArrowSchema* schema, const ArrowArray*
case 'm':
// MAP
return scanArrowArrayVarList<int32_t>(
schema, array, outputVector, mask, srcOffset, dstOffset,
count);
schema, array, outputVector, mask, srcOffset, dstOffset, count);
case 'u':
if (arrowType[2] == 'd') {
// DENSE UNION
Expand Down
2 changes: 1 addition & 1 deletion tools/python_api/test/test_df_pyarrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def test_pyarrow_map(conn_db_readonly : ConnDB) -> None:
while result.has_next():
assert idx < len(index)
nxt = result.get_next()
expected = [idx, None if col1[idx].as_py() == None else {key : value for key, value in col1[idx].as_py()}]
expected = [idx, None if col1[idx].as_py() is None else dict(col1[idx].as_py())]
assert expected == nxt
idx += 1

Expand Down

0 comments on commit 41c7348

Please sign in to comment.