Replies: 1 comment
-
Hi @zhao-lih, Could you please open an issue with the "Bug report" template?, I need the Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got the following exception when loading csv to sqlserver, any quick clue? Thanks in advance!
2022-08-18 00:21:16,246 INFO ReplicaDB:63 Running ReplicaDB version: 0.12.1
2022-08-18 00:21:16,251 INFO ReplicaDB:67 Setting verbose mode
2022-08-18 00:21:16,251 DEBUG ReplicaDB:68 ToolOptions{
sourceConnect='file://home/xx/mcs/mcs_uat.csv',
sourceUser='null',
sourcePassword='null',
sourceTable='null',
sourceColumns='dwelling_id, dwelling_type, civic_no, civic_suffix, unit_id, road_name, road_name, road_type, road_type_key, road_dir, road_dir_key, municipality_name, municipality_name_key, postal_code, prov_abvn, prov_code, csd_uid, csd_municipality_name, block_no, cu_id, is_civic_address',
sourceWhere='null',
sourceQuery='null',
sinkConnect='jdbc:sqlserver://xxxx:1433;database=MCS;encrypt=false',
sinkUser='mcs',
sinkPassword='****',
sinkTable='GEO.VW_ADDRESS_DATA',
sinkStagingTable='null',
sinkStagingSchema='null',
sinkStagingTableAlias='null',
sinkColumns='dwelling_id, dwelling_type, civic_no, civic_suffix, unit_id , road_name, road_name_key, road_type, road_type_key, road_dir, road_dir_key, municipality_name, municipality_name_key, postal_code , prov_abvn, prov_code, csd_uid, csd_municipality_name, block_no, cu_id, is_civic_address',
sinkDisableEscape=false,
sinkDisableIndex=false,
sinkDisableTruncate=false,
sinkAnalyze=false,
jobs=1,
BandwidthThrottling=0,
quotedIdentifiers=false,
fetchSize=100,
help=false,
version=false,
verbose=true,
optionsFile='csv_sqlserver.conf',
mode='complete',
sentryDsn='null',
sourceConnectionParams={columns.types=NTEGER, SMALLINT, INTEGER, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, INTEGER, VARCHAR, VARCHAR, INTEGER, TINYINT, format.delimiter=:, format=DEFAULT},
sinkConnectionParams={domain=STC},
sourceFileFormat='null',
sinkFileformat='null'}
2022-08-18 00:21:16,337 WARN FileManagerFactory:39 The file format is not defined, setting CSV as the default file format.
2022-08-18 00:21:16,428 INFO SqlManager:370 Truncating sink table with this command: TRUNCATE TABLE GEOSEARCH.VW_ADDRESS_DATA
2022-08-18 00:21:17,184 INFO ReplicaTask:36 Starting TaskId-0
2022-08-18 00:21:17,184 WARN FileManagerFactory:39 The file format is not defined, setting CSV as the default file format.
2022-08-18 00:21:17,230 DEBUG CsvFileManager:99 Setting the initial format to DEFAULT
2022-08-18 00:21:17,230 INFO CsvFileManager:198 The final CSVFormat is: Delimiter=<:> QuoteChar=<"> RecordSeparator=<
Beta Was this translation helpful? Give feedback.
All reactions