allow None to Table constructor to create an empty table

Description

Came up as part of SYNR-1181.

Would be nice to allow 'value=None' in Table constructor. Currently we get an error:

I would expect it to act the same way as an empty data frame and create an empty table.

Environment

None

Activity

Show:
Kimyen Truong
June 14, 2018, 10:07 PM

, the error seems reasonable to guard users from accidentally create an empty table. Do you have a use case where the suggested behavior would be useful?

As a public facing API, I think I would prefer users explicitly decide to create an empty table by given an empty DataFrame or empty csv file rather than accidentally creating an empty table.

Assignee

Unassigned

Reporter

Kenneth Daily

Labels

Validator

Kenneth Daily

Development Area

None

Release Version History

None

Slack Channel

None

Epic Link

Components

Priority

Major