-
Notifications
You must be signed in to change notification settings - Fork 130
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-1332640 support reading of structured types #870
Conversation
e69b365
to
9d3987a
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #870 +/- ##
==========================================
+ Coverage 88.88% 88.99% +0.11%
==========================================
Files 65 66 +1
Lines 6304 6409 +105
==========================================
+ Hits 5603 5704 +101
- Misses 701 705 +4 ☔ View full report in Codecov by Sentry. |
lib/connection/result/column.js
Outdated
value = convertTimestampTzString(columnValue, formatLtz, context.statementParameters['TIMEZONE'], column.getScale()).toSfDate(); | ||
break; | ||
case 'timestamp_ntz': | ||
// context.format = context.statementParameters['TIMESTAMP_NTZ_OUTPUT_FORMAT'] || context.statementParameters['TIMESTAMP_OUTPUT_FORMAT']; |
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 delete this comment?
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.
what is the file naming convention? I see that we use snake_case and camelCase at the same time
); | ||
}); | ||
|
||
// it('test nested object', function (done) { |
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.
why commented? do we need this?
test/integration/testConnection.js
Outdated
@@ -46,7 +46,7 @@ describe('Connection test', function () { | |||
assert.ok(!connection.isUp(), 'still active'); | |||
}); | |||
|
|||
it('Wrong Username', function (done) { | |||
it.skip('Wrong Username', function (done) { |
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.
Why do we skip this test?
complete: function (err, stmt, rows) { | ||
testUtil.checkError(err); | ||
const row = rows[0]; | ||
const narmalizedRow = {}; |
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.
Typo narmalized
instead of normalized
.
complete: function (err, stmt, rows) { | ||
testUtil.checkError(err); | ||
const row = rows[0]; | ||
const narmalizedRow = {}; |
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.
Typo
33507d1
to
0fbb24e
Compare
Added to changes in feather branch - PR #874 |
Description
Please explain the changes you made here.
Checklist
npm run lint:check -- CHANGED_FILES
and fix problems in changed code)npm run test:unit
andnpm run test:integration
)