Skip to content

Add interleave support into IgniteDataset#59

Merged
dmitrievanthony merged 2 commits intotensorflow:masterfrom
dmitrievanthony:add-schema-retrieving-host-port
Jan 22, 2019
Merged

Add interleave support into IgniteDataset#59
dmitrievanthony merged 2 commits intotensorflow:masterfrom
dmitrievanthony:add-schema-retrieving-host-port

Conversation

@dmitrievanthony
Copy link
Collaborator

Currently IgniteDataset makes a call to data source during construction (in python) to retrieve a data schema. When we use Dataset.interleave it doesn't work well because host and port objects are tensors during the construction, not string/int values. This fact is also reflected in Apache JIRA in this issue.

To eliminate this problem I propose to use separate host/port objects to be used to retrieve schema and to retrieve data itself. Please have a look at the changed tests in this PR for details.

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

LGTM

@dmitrievanthony dmitrievanthony merged commit 1c8ae11 into tensorflow:master Jan 22, 2019
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.

2 participants