$embulk run -I$TOOL_PATH/embulk-wendelin-dataset-tool/lib $FILE$DIFF_COMMAND 2> "$LOG_DIR/error.log"||{
if["$STATUS"==\"\"];then
if["$DATASET_DESCRIPTION"==""];then
echo
echo-e"${ORANGE}[ERROR] Embulk tool stopped its execution.${NC}"
if["$STORAGE"!=\"\"];then
...
...
@@ -289,6 +309,7 @@ function runProcess {
fi
echo"[INFO] Please check the logs in '$LOG_DIR' directory for more details."
echo
fi
fi
}
}
...
...
@@ -543,6 +564,8 @@ while [ "$1" != "" ]; do
;;
-dc|--discard-changes)DISCARD_CHANGES=true
;;
-dd|--set-description)DATASET_DESCRIPTION=true
;;
-c|--chunk)shift
CHUNK=$1
;;
...
...
@@ -578,7 +601,7 @@ while [ "$1" != "" ]; do
shift
done
for ELEMENT in'''-d''--directory''-s''--storage''-cs''--custom-storage''-a''--advanced''-c''--chunk''-dc''--discard-changes';do
for ELEMENT in'''-d''--directory''-s''--storage''-cs''--custom-storage''-a''--advanced''-c''--chunk''-dc''--discard-changes''-dd''--set-description';do