Skip to content

Commit 4083146

Browse files
NO-SNOW: Ensure Arrow to_pandas does not error with Interval types
1 parent 2226c90 commit 4083146

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/snowflake/connector/nanoarrow_cpp/ArrowIterator/CArrowTableIterator.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ void CArrowTableIterator::convertIfNeeded(ArrowSchema* columnSchema,
6868
case SnowflakeType::Type::DATE:
6969
case SnowflakeType::Type::REAL:
7070
case SnowflakeType::Type::TEXT:
71+
case SnowflakeType::Type::INTERVAL_YEAR_MONTH:
72+
case SnowflakeType::Type::INTERVAL_DAY_TIME:
7173
case SnowflakeType::Type::VARIANT:
7274
case SnowflakeType::Type::VECTOR: {
7375
// Do not need to convert

0 commit comments

Comments
 (0)