fix traceback on empty schema

Tracebacks occur when a schema is passed without fields. This happens when an API source is queried in a tap and no records are returned. The change simply return a blank schema, which is appropriate when discovery is being done and there is no data to base the discovery on. It solves the traceback, and allows the ELT to complete with no records being sent to the target.

Closes #284 (closed)

Edited by Edgar R. Mondragón

Merge request reports

Loading