Skip to content

Spark schema <-> odcs conversion - #1

Open
rajatgl17 wants to merge 1 commit into
mainfrom
feature/spark-schema
Open

Spark schema <-> odcs conversion#1
rajatgl17 wants to merge 1 commit into
mainfrom
feature/spark-schema

Spark schema <-> odcs conversion

3b6ea7b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 9, 2026 in 34s

Quality Gate failed

Annotations

Check warning on line 213 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/SparkToOdcsConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "mapType" local variable.

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdgVMZUky4BdUv8y&open=AZ_ngdgVMZUky4BdUv8y&pullRequest=1

Check warning on line 196 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/OdcsToSparkConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdfiMZUky4BdUv8n&open=AZ_ngdfiMZUky4BdUv8n&pullRequest=1

Check failure on line 185 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/SparkToOdcsConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdgVMZUky4BdUv8w&open=AZ_ngdgVMZUky4BdUv8w&pullRequest=1

Check warning on line 356 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/SparkToOdcsConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 10 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdgVMZUky4BdUv8u&open=AZ_ngdgVMZUky4BdUv8u&pullRequest=1

Check warning on line 210 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/OdcsToSparkConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "fallback".

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdfiMZUky4BdUv8p&open=AZ_ngdfiMZUky4BdUv8p&pullRequest=1

Check warning on line 25 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/PhysicalTypeParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdgLMZUky4BdUv8r&open=AZ_ngdgLMZUky4BdUv8r&pullRequest=1

Check failure on line 81 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/SparkToOdcsConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "string" 4 times.

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdgVMZUky4BdUv8s&open=AZ_ngdgVMZUky4BdUv8s&pullRequest=1

Check warning on line 196 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/OdcsToSparkConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdfiMZUky4BdUv8o&open=AZ_ngdfiMZUky4BdUv8o&pullRequest=1

Check failure on line 100 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/SparkToOdcsConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdgVMZUky4BdUv8v&open=AZ_ngdgVMZUky4BdUv8v&pullRequest=1

Check warning on line 188 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/SparkToOdcsConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to local variable "physicalName".

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdgVMZUky4BdUv8x&open=AZ_ngdgVMZUky4BdUv8x&pullRequest=1

Check warning on line 287 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/SparkToOdcsConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 9 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdgVMZUky4BdUv8t&open=AZ_ngdgVMZUky4BdUv8t&pullRequest=1

Check warning on line 36 in odcs-spark/src/main/java/io/github/dataspeclabs/odcs/spark/schema/OdcsMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "sparkFieldName".

See more on https://sonarcloud.io/project/issues?id=data-spec-labs_odcs-java-sdk&issues=AZ_ngdgCMZUky4BdUv8q&open=AZ_ngdgCMZUky4BdUv8q&pullRequest=1