1
0
mirror of synced 2025-12-25 02:09:19 -05:00

🐛 Source MongoDB - Added milliseconds to convert timestamp to datetime format (#8046)

* Added milliseconds to convert timestamp to datetime format

* updated docs

* updated docs
This commit is contained in:
andriikorotkov
2021-11-18 14:30:15 +02:00
committed by GitHub
parent 7b54480677
commit 46e1f65905
8 changed files with 14 additions and 6 deletions

View File

@@ -8,5 +8,5 @@ COPY build/distributions/${APPLICATION}*.tar ${APPLICATION}.tar
RUN tar xf ${APPLICATION}.tar --strip-components=1
LABEL io.airbyte.version=0.1.4
LABEL io.airbyte.version=0.1.5
LABEL io.airbyte.name=airbyte/source-mongodb-v2

View File

@@ -174,7 +174,7 @@ public class MongoDbSourceDataTypeTest {
.put("int64", 9223372036854775807L)
.put("double", 1.7976931348623157E308)
.put("decimal", NaN)
.put("tms", DataTypeUtils.toISO8601String(MILLI))
.put("tms", DataTypeUtils.toISO8601StringWithMilliseconds(MILLI))
.put("dateTime", DataTypeUtils.toISO8601String(MILLI))
.put("binary", new BsonBinary(new UUID(10, 15)).getData())
.put("symbol", "s")