Training timeseries error

Training/Test splits, datasets creation. Using timerange arguments.

train_start = “1964/01/01”
train_end = “1971/07/01”
test_start = “1971/07/01”
test_end = “1972/09/01”

td_version, td_job = feature_view.create_train_test_split(
train_start=train_start,
train_end=train_end,
test_start=test_start,
test_end=test_end,
data_format = “csv”,
coalesce = True,
write_options = {‘wait_for_job’: True},
)

I get error
RestAPIError: Metadata operation error: (url: https://c.app.hopsworks.ai/hopsworks-api/api/project/20697/featurestores/20617/featureview/sales/version/1/trainingdatasets). Server response:
HTTP code: 500, HTTP reason: Internal Server Error, body: b’{“errorCode”:120003,“usrMsg”:“Transaction marked for rollback.”,“errorMsg”:“The last transaction did not complete as expected”}', error code: 120003, error msg: The last transaction did not complete as expected, user msg: Transaction marked for rollback.

Hi @salsabila_putri,

Thanks for reporting this. We are taking a look at what’s causing this.

Regards,
Fabio

Hi again @salsabila_putri ,

Looks like 1970/01/01 is the lowest start time you can use as the splits are stored as timestamps.
So Hopsworks fails to handle 1964/01/01 as training start time.

Regards,
Fabio