Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ant 2636 parquet avro #26

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

vargastat
Copy link
Contributor

No description provided.


public class TimeSeriesReader {
public static TimeSeriesMatrix readFromParquet(Path filePath) throws IOException {
Objects.requireNonNull(filePath);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

File.exists needs to be checked too

public static void writeToParquet(TimeSeriesMatrix matrix, Path outputPath) throws IOException {
Objects.requireNonNull(matrix);
Objects.requireNonNull(outputPath);
if (!(outputPath + "").endsWith(".parquet")) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

(outputPath + "").endsWith(".parquet") might be written nicer like outputPath.getFileName().toString().endsWith(".parquet") ?

@salemsd salemsd force-pushed the feature/ANT_2636_parquet_avro branch from 23e69c1 to 78943c8 Compare February 3, 2025 10:13
@salemsd salemsd force-pushed the feature/ANT_2636_parquet_avro branch from 78943c8 to 29c8417 Compare February 10, 2025 12:32
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant