Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wenhoujx committed Apr 24, 2023
1 parent 3da72a8 commit a9e2e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/python_api/test/test_arrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def _test_primitive_data_types(_conn):
query = "MATCH (a:person) RETURN a.age, to_int32(a.age), to_int16(a.age), a.isStudent, a.eyeSight, a.birthdate, a.registerTime," \
" a.lastJobDuration, a.fName ORDER BY a.ID"
arrow_tbl = _conn.execute(query).get_as_arrow(8)
assert arrow_tbl.num_columns == 7
assert arrow_tbl.num_columns == 9

age_col = arrow_tbl.column(0)
assert age_col.type == pa.int64()
Expand Down

0 comments on commit a9e2e79

Please sign in to comment.