mixed enum plus int: 0 gets parsed as enum, not NA

Description

If I have a bunch of enums in a col, and one int, the int should be an NA
here the 0 gets parsed as an enum

I can tell, because when I do summary, there's no missing and the domains include the '0'

test is
cd h2o-dev/py2/testdir_multi_jvm
python test_mixed_int_enum_many.py

======================================================================
FAIL: test_mixed_int_enum_many (_main_.Basic)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_mixed_int_enum_many.py", line 187, in test_mixed_int_enum_many
msg="trial %s: cardinality %s should be %s" % (trial, cardinality, len(enumChoices)))
AssertionError: trial 2: cardinality 3 should be 2

end of dataset (in sandbox/syn_datasets, generated)
def,abc
abc,abc
def,abc
abc,abc
abc,abc
0,0

looks like
~/h2o-dev/py2/testdir_multi_jvm/sandbox/syn_datasets$ wc -l *
1000001 syn_binary_1000000x2.csv

here's the domain info from summary
co.domain: [u'0', u'abc', u'def']

you can see the column is type enum. It shouldn't have zeros ==1 either?
co.type: enum
co.zeros: 1

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

New H2O Bugs

Reporter

Kevin Normoyle

CustomerVisible

No