Need to clarify the definition of Typeahead.json for file/folder and limit=parameter

Description

for a standalone python test.
we had a failure in Flow.
I think we need clearer definition on the results of Typeahead.json

specifically
path= file with no trailing slash, and limit = 0 or limit!=0
path= folder with no trailing slash, and limit = 0 or limit!=0
path= file with trailing slash, and limit = 0 or limit!=0
path = folder with no trailing slash, and limit =0 or limit!=0

I notice if I use a path = folder with no trailing slash, I don't get any matches down inside the folder. Is that the intent?

also need clarification about what files are not included in the matches list and what folders are not traversed

I believe all leading "." dirs and files are ignored. Also maybe some special windows dirs or files? don't know

what about any special hadoop rules

Also: are errors reported on any permission problems? Or are files silently ignored (and not reported in the match list)

This also applies to all directories with permission problems.

Since it's difficult to understand what layer is broken if flow "just doesn't work right" ...I think we need a crisp definition for Typeahead.json

(we didn't have any typeahead tests in h2o1...I just added a little yesterday)

Prithvi changed flow, but it's not clear to me that Typeahead.json is fully tested to intent yet.

Assignee

Michal Malohlava

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