Middlecon / DBImport

DBImport ingestion tool. Handle import, export and standard ETL flows in Hadoop/Hive
Apache License 2.0
16 stars 6 forks source link

PK with spaces in column name failes on --split-by #9

Closed Middlecon closed 5 years ago

Middlecon commented 5 years ago

If there is a space in the columnnamn that sqoop will split on, it failes as it gets generated into different parts of the sqoopCommandList

Middlecon commented 5 years ago

Changed the standard string split to use shlex.split instead. That follows the rule of quotes text and by that solves the problem with spaces in columnnamnes