Skip to content

Conversation

@binhmop
Copy link
Member

@binhmop binhmop commented Jun 30, 2016

Description and related tickets, documents

Implemented a set of basic ETL APIs for time series analysis including:

  • downsampling
  • compute column difference
  • compute moving average

Reviewers:

Breaking changes & backward compatible issues

No

PR Progress

Make sure all checkboxes below are checked before merged

  • Merge check has no conflicts. PR checks passed.
  • Main reviewer approved
  • Optional reviewer approved

@nhanitvn nhanitvn changed the title [PE-2175] ETL APIs for handling Time Series ETL APIs for handling Time Series Jun 30, 2016

val manager = ddf.getManager.asInstanceOf[SparkDDFManager]
val res = manager.newDDFFromSparkDataFrame(newdf)
manager.addDDF(res)
Copy link
Contributor

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);
Copy link
Collaborator

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.

Copy link
Member Author

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

Copy link
Contributor

Choose a reason for hiding this comment

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

what is mTsIDColumn?

Copy link
Member Author

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

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.

4 participants