Skip to content

Unexpected error: parsing time "0001-01-01 00:53:28+00:53:28": extra text: ":53:28" #48

Description

@mcsch

The following error occurs after syncing with a postgres db. Seems related to #26

  • Version: 0.51.1
  • OS: linux-amd64
parsing time "0001-01-01 00:53:28+00:53:28": extra text: ":53:28"

goroutine 1 [running]:
runtime/debug.Stack()
	/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
main.printUnexpectedError(0x3bd6320?, {0x2c7d7a0?, 0xc008b02960?})
	/app/error_utils.go:44 +0x4b
main.PanicIfError(0x3bd6320, {0x2c7d7a0, 0xc008b02960})
	/app/error_utils.go:21 +0x45
main.(*PgSchemaColumn).parquetPrimitiveValue(0xc000425188, {0xc0007c4aeb, 0x1c})
	/app/pg_schema_column.go:286 +0xf1b
main.(*PgSchemaColumn).FormatParquetValue(0xc000700430?, {0xc0007c4aeb?, 0x2c75998?})
	/app/pg_schema_column.go:178 +0x37e
main.(*StorageUtils).WriteParquetFile(0xc00011c000, {0x2c90420, 0xc000772090}, {0xc000424c08, 0xe, 0x1?}, 0x80000000, 0xc008b02050)
	/app/storage_utils.go:567 +0x6f4
main.(*StorageLocal).CreateParquet(0xc00065c110, {0xc0009f9200, 0x2b}, {0xc000424c08, 0xe, 0x11}, 0x80000000, 0xc008b02050)
	/app/storage_local.go:154 +0x2ae
main.(*IcebergWriterTable).Write(0xc0000519a0, 0xc008b02050)
	/app/iceberg_writer_table.go:57 +0x3de
main.(*SyncerTable).SyncPgTable(0xc0003b2880, {{0xc000aa82c8, 0x4}, {0xc00059c7a0, 0x9}, {0x0, 0x0}}, 0xc000308120, 0xc0003087e0, {{0x0, ...}, ...}, ...)
	/app/syncer_table.go:85 +0xac5
main.(*Syncer).SyncFromPostgres(0xc0003b6320)
	/app/syncer.go:79 +0x6c9
main.syncFromPg(0x3bd6320)
	/app/main.go:93 +0x1d
main.main()
	/app/main.go:53 +0x22f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions