diff --git a/mint/preinstall.sh b/mint/preinstall.sh index c73df6d8f..4ac2de495 100755 --- a/mint/preinstall.sh +++ b/mint/preinstall.sh @@ -19,7 +19,7 @@ export APT="apt --quiet --yes" export WGET="wget --quiet --no-check-certificate" # install nodejs source list -if ! $WGET --output-document=- https://deb.nodesource.com/setup_13.x | bash -; then +if ! $WGET --output-document=- https://deb.nodesource.com/setup_14.x | bash -; then echo "unable to set nodejs repository" exit 1 fi diff --git a/mint/run/core/s3select/csv.py b/mint/run/core/s3select/csv.py index b34ba2afc..298415484 100644 --- a/mint/run/core/s3select/csv.py +++ b/mint/run/core/s3select/csv.py @@ -20,7 +20,7 @@ import os from minio import Minio from minio.select.options import (CSVInput, CSVOutput, InputSerialization, - JsonOutput, OutputSerialization, + JSONOutput, OutputSerialization, RequestProgress, SelectObjectOptions) from utils import * @@ -107,7 +107,7 @@ def test_csv_input_custom_quote_char(client, log_output): AllowQuotedRecordDelimiter="FALSE",), ), output_serialization=OutputSerialization( - json=JsonOutput( + json=JSONOutput( RecordDelimiter="\n", ) ), diff --git a/mint/run/core/s3select/sql_ops.py b/mint/run/core/s3select/sql_ops.py index bf3c0bd84..8b2099a21 100644 --- a/mint/run/core/s3select/sql_ops.py +++ b/mint/run/core/s3select/sql_ops.py @@ -19,7 +19,7 @@ import io from datetime import datetime from minio.select.options import (CSVInput, CSVOutput, InputSerialization, - JSONInput, OutputSerialization, + JSONInput, JSONOutput, OutputSerialization, RequestProgress, SelectObjectOptions) from utils import generate_bucket_name, generate_object_name @@ -394,7 +394,7 @@ def test_sql_select_json(client, log_output): ] input_serialization = InputSerialization(json=JSONInput(Type="DOCUMENT")) - output_serialization = OutputSerialization(json=JsonOutput()) + output_serialization = OutputSerialization(json=JSONOutput()) try: test_sql_expressions_custom_input_output(client, json_testcontent, input_serialization, output_serialization, tests, log_output)