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

Assignee

New H2O Bugs

Reporter

Kevin Normoyle

Labels

None

CustomerVisible

No

testcase 1

None

testcase 2

None

testcase 3

None

h2ostream link

None

Affected Spark version

None

AffectedContact

None

AffectedCustomers

None

AffectedPilots

None

AffectedOpenSource

None

Support Assessment

None

Customer Request Type

None

Support ticket URL

None

End date

None

Baseline start date

None

Baseline end date

None

Task progress

None

Task mode

None

Priority

Major
Configure