Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

Read ARRAY<float> densefeat from hive #890

Closed
wants to merge 1 commit into from

Conversation

crisov
Copy link
Contributor

@crisov crisov commented Aug 9, 2019

Summary: Dense feature is literally a list of float type. To read densefeat, we will call a function load_float_list, which only takes string as input. However, in hive data, the densefeat can be ARRAY<FLOAT>. So we first do type check and then process the densefeat.

Reviewed By: snisarg

Differential Revision: D16635113

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 9, 2019
@crisov crisov force-pushed the export-D16635113 branch from e001873 to 8069f9b Compare August 9, 2019 17:19
crisov added a commit to crisov/pytext that referenced this pull request Aug 9, 2019
Summary:
Pull Request resolved: facebookresearch#890

Dense feature is literally a list of float type. To read densefeat, we will call a function `load_float_list`, which only takes string as input. However, in hive data, the densefeat can be `ARRAY<FLOAT>`. So we first do type check and then process the densefeat.

Reviewed By: snisarg

Differential Revision: D16635113

fbshipit-source-id: 8e3e05c539bf298631543f1398ec95191a719433
@crisov crisov force-pushed the export-D16635113 branch from 8069f9b to 6a1a7ea Compare August 9, 2019 17:28
crisov added a commit to crisov/pytext that referenced this pull request Aug 9, 2019
Summary:
Pull Request resolved: facebookresearch#890

Dense feature is literally a list of float type. To read densefeat, we will call a function `load_float_list`, which only takes string as input. However, in hive data, the densefeat can be `ARRAY<FLOAT>`. So we first do type check and then process the densefeat.

Reviewed By: snisarg

Differential Revision: D16635113

fbshipit-source-id: e89311ecb33f5a962226cf50e1f0e462969e4f17
Summary:
Pull Request resolved: facebookresearch#890

Dense feature is literally a list of float type. To read densefeat, we will call a function `load_float_list`, which only takes string as input. However, in hive data, the densefeat can be `ARRAY<FLOAT>`. So we first do type check and then process the densefeat.

Reviewed By: snisarg

Differential Revision: D16635113

fbshipit-source-id: 2df6435baa20d1a2c351763d9b89ae32681df62c
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 437120e.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants