duckdb 0.6.2-dev484.0 → 0.6.2-dev490.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/duckdb.cpp +2 -5
- package/src/duckdb.hpp +761 -754
- package/src/parquet-amalgamation.cpp +30504 -30504
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -48577,9 +48577,6 @@ static_assert(sizeof(timestamp_t) == sizeof(int64_t), "timestamp_t was padded");
|
|
|
48577
48577
|
// T may be a space
|
|
48578
48578
|
// Z is optional
|
|
48579
48579
|
// ISO 8601
|
|
48580
|
-
static inline bool CharacterIsTimeZone(char c) {
|
|
48581
|
-
return StringUtil::CharacterIsAlpha(c) || StringUtil::CharacterIsDigit(c) || c == '_' || c == '/';
|
|
48582
|
-
}
|
|
48583
48580
|
|
|
48584
48581
|
bool Timestamp::TryConvertTimestampTZ(const char *str, idx_t len, timestamp_t &result, bool &has_offset, string_t &tz) {
|
|
48585
48582
|
idx_t pos;
|
|
@@ -110150,8 +110147,8 @@ bool StrpTimeFormat::Parse(string_t str, ParseResult &result) {
|
|
|
110150
110147
|
pos++;
|
|
110151
110148
|
}
|
|
110152
110149
|
const auto tz_begin = data + pos;
|
|
110153
|
-
// stop when we encounter a
|
|
110154
|
-
while (pos < size &&
|
|
110150
|
+
// stop when we encounter a non-tz character
|
|
110151
|
+
while (pos < size && Timestamp::CharacterIsTimeZone(data[pos])) {
|
|
110155
110152
|
pos++;
|
|
110156
110153
|
}
|
|
110157
110154
|
const auto tz_end = data + pos;
|