Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
tuliren committed Mar 19, 2022
1 parent b4d789c commit c359284
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ RUN tar xf ${APPLICATION}.tar --strip-components=1

ENV ENABLE_SENTRY true

LABEL io.airbyte.version=0.4.21
LABEL io.airbyte.version=0.4.22
LABEL io.airbyte.name=airbyte/destination-snowflake

3 comments on commit c359284

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube Report

SonarQube report for Airbyte Connectors Destination Gcs(#10793)

Measures

Name Value Name Value Name Value
Lines of Code 848 Vulnerabilities 0 Reliability Rating A
Bugs 0 Coverage 0.0 Security Rating A
Quality Gate Status OK Lines to Cover 342 Code Smells 11
Duplicated Blocks 0 Duplicated Lines (%) 0.0 Blocker Issues 0
Critical Issues 0 Major Issues 9 Minor Issues 2

Detected Issues

Rule File Description Message
java:S112 (MAJOR) gcs/GcsConsumer.java:110 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S6213 (MAJOR) avro/GcsAvroWriter.java:97 Restricted Identifiers should not be used as Identifiers Rename this variable to not match a restricted identifier.
java:S1118 (MAJOR) util/GcsUtils.java:16 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S117 (MINOR) util/GcsUtils.java:34 Local variable and method parameter names should comply with a naming convention Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
java:S117 (MINOR) util/GcsUtils.java:36 Local variable and method parameter names should comply with a naming convention Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
java:S1118 (MAJOR) gcs/GcsS3Helper.java:14 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S1118 (MAJOR) credential/GcsCredentialConfigs.java:10 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S112 (MAJOR) credential/GcsCredentialConfigs.java:19 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S1068 (MAJOR) parquet/GcsParquetWriter.java:39 Unused "private" fields should be removed Remove this unused "MAPPER" private field.
java:S112 (MAJOR) writer/GcsWriterFactory.java:22 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) writer/ProductionWriterFactory.java:59 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.

Coverage (0.0%)

File Coverage File Coverage
src/main/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroWriter.java 0.0 src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialConfigs.java 0.0
src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsHmacKeyCredentialConfig.java 0.0 src/main/java/io/airbyte/integrations/destination/gcs/csv/GcsCsvWriter.java 0.0
src/main/java/io/airbyte/integrations/destination/gcs/GcsConsumer.java 0.0 src/main/java/io/airbyte/integrations/destination/gcs/GcsDestination.java 0.0
src/main/java/io/airbyte/integrations/destination/gcs/GcsDestinationConfig.java 0.0 src/main/java/io/airbyte/integrations/destination/gcs/GcsS3Helper.java 0.0
src/main/java/io/airbyte/integrations/destination/gcs/jsonl/GcsJsonlWriter.java 0.0 src/main/java/io/airbyte/integrations/destination/gcs/parquet/GcsParquetWriter.java 0.0
src/main/java/io/airbyte/integrations/destination/gcs/util/GcsS3FileSystem.java 0.0 src/main/java/io/airbyte/integrations/destination/gcs/util/GcsUtils.java 0.0
src/main/java/io/airbyte/integrations/destination/gcs/writer/BaseGcsWriter.java 0.0 src/main/java/io/airbyte/integrations/destination/gcs/writer/ProductionWriterFactory.java 0.0

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube Report

SonarQube report for Airbyte Connectors Destination S3(#10793)

Measures

Name Value Name Value Name Value
Duplicated Lines (%) 0.0 Coverage 0.0 Code Smells 8
Vulnerabilities 0 Quality Gate Status ERROR Lines to Cover 140
Lines of Code 2361 Duplicated Blocks 3 Reliability Rating A
Bugs 1 Security Rating A Blocker Issues 0
Critical Issues 3 Major Issues 35 Minor Issues 2

Detected Issues

Rule File Description Message
java:S112 (MAJOR) s3/BlobStorageOperations.java:22 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) s3/BlobStorageOperations.java:29 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) s3/BlobStorageOperations.java:34 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) s3/S3StorageOperations.java:98 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) s3/S3StorageOperations.java:119 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) s3/S3StorageOperations.java:129 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) csv/CsvSerializedBuffer.java:30 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) csv/CsvSerializedBuffer.java:44 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S3358 (MAJOR) avro/JsonToAvroSchemaConverter.java:179 Ternary operators should not be nested Extract this nested ternary operation into an independent statement.
java:S107 (MAJOR) s3/S3DestinationConfig.java:80 Methods should not have too many parameters Constructor has 8 parameters, which is greater than 7 authorized.
java:S112 (MAJOR) s3/S3Consumer.java:108 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
common-java:DuplicatedBlocks (MAJOR) avro/S3AvroWriter.java Source files should not have any duplicated blocks 1 duplicated blocks of code must be removed.
common-java:DuplicatedBlocks (MAJOR) csv/S3CsvWriter.java Source files should not have any duplicated blocks 1 duplicated blocks of code must be removed.
common-java:DuplicatedBlocks (MAJOR) jsonl/S3JsonlWriter.java Source files should not have any duplicated blocks 1 duplicated blocks of code must be removed.
java:S6213 (MAJOR) avro/S3AvroWriter.java:106 Restricted Identifiers should not be used as Identifiers Rename this variable to not match a restricted identifier.
java:S112 (MAJOR) s3/S3DestinationConfig.java:175 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S2259 (MAJOR) avro/JsonToAvroSchemaConverter.java:164 Null pointers should not be dereferenced A "NullPointerException" could be thrown; "properties" is nullable here.
java:S3776 (CRITICAL) avro/JsonToAvroSchemaConverter.java:338 Cognitive Complexity of methods should not be too high Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.
java:S3252 (CRITICAL) avro/JsonToAvroSchemaConverter.java:372 "static" base class members should not be accessed via derived types Use static access with "!Unknown!" for "Entry".
java:S1121 (MAJOR) avro/JsonToAvroSchemaConverter.java:261 Assignments should not be made from within sub-expressions Extract the assignment out of this expression.
java:S107 (MAJOR) s3/S3DestinationConfig.java:60 Methods should not have too many parameters Constructor has 9 parameters, which is greater than 7 authorized.
java:S107 (MAJOR) csv/S3CsvWriter.java:40 Methods should not have too many parameters Constructor has 9 parameters, which is greater than 7 authorized.
java:S3358 (MAJOR) s3/S3Destination.java:135 Ternary operators should not be nested Extract this nested ternary operation into an independent statement.
java:S5361 (CRITICAL) s3/S3Destination.java:136 "String#replace" should be preferred to "String#replaceAll" Replace this call to "replaceAll()" by a call to the "replace()" method.
java:S1121 (MAJOR) avro/JsonToAvroSchemaConverter.java:217 Assignments should not be made from within sub-expressions Extract the assignment out of this expression.
java:S1118 (MAJOR) avro/AvroConstants.java:10 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S125 (MAJOR) avro/JsonToAvroSchemaConverter.java:209 Sections of code should not be commented out This block of commented-out lines of code should be removed.
java:S1068 (MAJOR) jsonl/S3JsonlWriter.java:37 Unused "private" fields should be removed Remove this unused "WRITER" private field.
java:S1118 (MAJOR) util/AvroRecordHelper.java:17 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S1118 (MAJOR) util/S3StreamTransferManagerHelper.java:12 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S1700 (MAJOR) avro/JsonSchemaType.java:23 A field should not duplicate the name of its containing class Rename field "jsonSchemaType"
java:S1118 (MAJOR) parquet/S3ParquetConstants.java:9 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S1118 (MAJOR) util/S3OutputPathHelper.java:13 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S112 (MAJOR) writer/ProductionWriterFactory.java:59 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) writer/S3WriterFactory.java:21 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S1118 (MAJOR) s3/S3FormatConfigs.java:16 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S112 (MAJOR) s3/S3FormatConfigs.java:39 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S1118 (MAJOR) csv/CsvSheetGenerator.java:25 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S2094 (MINOR) csv/CsvSheetGenerators.java:7 Classes should not be empty Remove this empty class, write its code or make it an "interface".
java:S1116 (MINOR) csv/RootLevelFlatteningSheetGenerator.java:25 Empty statements should be removed Remove this empty statement.

Coverage (0.0%)

File Coverage File Coverage
src/main/java/io/airbyte/integrations/destination/s3/avro/AvroConstants.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/avro/AvroNameTransformer.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/avro/AvroRecordFactory.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/avro/JsonFieldNameUpdater.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/avro/JsonSchemaType.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/avro/JsonToAvroSchemaConverter.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroFormatConfig.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroWriter.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/csv/BaseSheetGenerator.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSerializedBuffer.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSheetGenerator.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/csv/NoFlatteningSheetGenerator.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/csv/RootLevelFlatteningSheetGenerator.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvFormatConfig.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvWriter.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/csv/StagingDatabaseCsvSheetGenerator.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlFormatConfig.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlWriter.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetConstants.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetFormatConfig.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetWriter.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/S3Consumer.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/S3Destination.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfig.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfigFactory.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConstants.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/S3Format.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfig.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfigs.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/S3StorageOperations.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/util/AvroRecordHelper.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/util/S3OutputPathHelper.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/util/S3StreamTransferManagerHelper.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/WriteConfig.java 0.0
src/main/java/io/airbyte/integrations/destination/s3/writer/BaseS3Writer.java 0.0 src/main/java/io/airbyte/integrations/destination/s3/writer/ProductionWriterFactory.java 0.0

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube Report

SonarQube report for Airbyte Connectors Destination Snowflake(#10793)

Measures

Name Value Name Value Name Value
Quality Gate Status ERROR Lines of Code 1155 Security Rating A
Code Smells 12 Bugs 0 Duplicated Lines (%) 4.7
Duplicated Blocks 2 Vulnerabilities 0 Reliability Rating A
Coverage 0.0 Lines to Cover 170 Blocker Issues 0
Critical Issues 6 Major Issues 17 Minor Issues 2

Detected Issues

Rule File Description Message
common-java:DuplicatedBlocks (MAJOR) snowflake/SnowflakeInternalStagingDestination.java Source files should not have any duplicated blocks 1 duplicated blocks of code must be removed.
java:S1192 (CRITICAL) snowflake/SnowflakeInternalStagingSqlOperations.java:91 String literals should not be duplicated Define a constant instead of duplicating this literal "stage" 5 times.
java:S112 (MAJOR) snowflake/SnowflakeInternalStagingSqlOperations.java:96 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S1192 (CRITICAL) snowflake/SnowflakeInternalStagingSqlOperations.java:98 String literals should not be duplicated Define a constant instead of duplicating this literal "Executing query: {}" 6 times.
java:S112 (MAJOR) snowflake/SnowflakeInternalStagingSqlOperations.java:102 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S3457 (MAJOR) snowflake/SnowflakeInternalStagingSqlOperations.java:163 Printf-style format strings should be used correctly Format specifiers should be used instead of string concatenation.
java:S1155 (MINOR) snowflake/SnowflakeSqlOperations.java:66 Collection.isEmpty() should be used to test for emptiness Use isEmpty() to check whether the collection is empty or not.
common-java:DuplicatedBlocks (MAJOR) snowflake/SnowflakeS3StagingDestination.java Source files should not have any duplicated blocks 1 duplicated blocks of code must be removed.
java:S117 (MINOR) snowflake/SnowflakeS3StagingDestination.java:45 Local variable and method parameter names should comply with a naming convention Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
java:S112 (MAJOR) snowflake/SnowflakeS3StagingDestination.java:66 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S1192 (CRITICAL) snowflake/SnowflakeS3StagingSqlOperations.java:70 String literals should not be duplicated Define a constant instead of duplicating this literal "stage" 4 times.
java:S1172 (MAJOR) snowflake/SnowflakeS3StagingSqlOperations.java:109 Unused method parameters should be removed Remove this unused method parameter "stageName".
java:S112 (MAJOR) snowflake/SnowflakeAzureBlobStorageStreamCopier.java:61 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S1192 (CRITICAL) snowflake/SnowflakeDestinationResolver.java:28 String literals should not be duplicated Define a constant instead of duplicating this literal "loading_method" 9 times.
java:S1118 (MAJOR) snowflake/SnowflakeDestinationResolver.java:13 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.
java:S112 (MAJOR) snowflake/SnowflakeGcsStreamCopier.java:79 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) snowflake/SnowflakeParallelCopyStreamCopier.java:40 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) snowflake/SnowflakeS3StreamCopier.java:119 Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S112 (MAJOR) snowflake/SnowflakeInternalStagingSqlOperations.java Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S1192 (CRITICAL) snowflake/SnowflakeInternalStagingSqlOperations.java String literals should not be duplicated Define a constant instead of duplicating this literal "stage" 3 times.
java:S112 (MAJOR) snowflake/SnowflakeInternalStagingDestination.java Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S5361 (CRITICAL) snowflake/SnowflakeInternalStagingDestination.java:66 "String#replace" should be preferred to "String#replaceAll" Replace this call to "replaceAll()" by a call to the "replace()" method.
java:S112 (MAJOR) snowflake/SnowflakeInternalStagingSqlOperations.java Generic exceptions should never be thrown Define and throw a dedicated exception instead of using a generic one.
java:S1068 (MAJOR) snowflake/SnowflakeInsertDestination.java:19 Unused "private" fields should be removed Remove this unused "LOGGER" private field.
java:S1118 (MAJOR) snowflake/SnowflakeDatabase.java:19 Utility classes should not have public constructors Add a private constructor to hide the implicit public one.

Coverage (0.0%)

File Coverage File Coverage
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopier.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopierFactory.java 0.0
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyAzureBlobStorageDestination.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyGcsDestination.java 0.0
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyS3Destination.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDatabase.java 0.0
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestination.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationResolver.java 0.0
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopier.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopierFactory.java 0.0
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInsertDestination.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestination.java 0.0
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingSqlOperations.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeParallelCopyStreamCopier.java 0.0
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingDestination.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingSqlOperations.java 0.0
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopier.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierFactory.java 0.0
src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSQLNameTransformer.java 0.0 src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperations.java 0.0

Please sign in to comment.