-
Notifications
You must be signed in to change notification settings - Fork 42
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
ETL APIs for handling Time Series #366
base: adatao
Are you sure you want to change the base?
Conversation
|
||
val manager = ddf.getManager.asInstanceOf[SparkDDFManager] | ||
val res = manager.newDDFFromSparkDataFrame(newdf) | ||
manager.addDDF(res) |
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.
don't need to do this
this.mTimestampColumn = timestampColumn; | ||
List<String> groupByCols = Lists.newArrayList(timestampColumn); | ||
if (mTsIDColumn != null && !mTsIDColumn.isEmpty()) { | ||
groupByCols.add(mTsIDColumn); |
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.
mTsIDColumn
shouldn't be added here, this method should only downsample based on timestampColumn
.
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.
downsampling should be for each mTsIDColumn
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.
what is mTsIDColumn?
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.
ID of a time series
Description and related tickets, documents
Implemented a set of basic ETL APIs for time series analysis including:
Reviewers:
Breaking changes & backward compatible issues
No
PR Progress
Make sure all checkboxes below are checked before merged