-
Notifications
You must be signed in to change notification settings - Fork 125
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
SNOW-1524221 handle nested arrays #1176
base: master
Are you sure you want to change the base?
Conversation
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1176 +/- ##
==========================================
- Coverage 83.16% 83.16% -0.01%
==========================================
Files 54 54
Lines 12149 12158 +9
==========================================
+ Hits 10104 10111 +7
- Misses 2045 2047 +2 ☔ View full report in Codecov by Sentry. |
@@ -363,6 +363,30 @@ func TestStringToValue(t *testing.T) { | |||
} else if ts.UnixNano() != 1549491451123456789 { | |||
t.Errorf("expected unix timestamp: 1549491451123456789, got %v", ts.UnixNano()) | |||
} | |||
|
|||
rowType = &execResponseRowType{Type: "array", Fields: []fieldMetadata{{Type: "array", Fields: []fieldMetadata{{Type: "fixed"}}}}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a E2E test as well (in structured_types_read.go)? How does it relate to TestArrayOfArrays
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, added a case in TestArrayOfArrays for a 3-dimensional array. Currently native arrow fails it, I'm working on that as well
I have read the CLA Document and I hereby sign the CLA |
recheck |
Description
SNOW-1524221 Added handling of N-dimensional arrays for N>2 to stringToValue
Checklist