-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: develop
Are you sure you want to change the base?
Conversation
|
||
public class TimeSeriesReader { | ||
public static TimeSeriesMatrix readFromParquet(Path filePath) throws IOException { | ||
Objects.requireNonNull(filePath); |
There was a problem hiding this comment.
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")) { |
There was a problem hiding this comment.
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") ?
23e69c1
to
78943c8
Compare
78943c8
to
29c8417
Compare
|
No description provided.