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