Summary
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-nodejs. Each finding is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT (post-fix) behavior and stays red until THIS driver (databricks/databricks-sql-nodejs) is fixed, then flips green as a tripwire.
Findings
- LOGGING-002 [thrift, sea]: DBSQLLogger passes
filepath straight to its file transport with no directory-vs-file resolution, so a directory log destination yields no log file inside it and raises an async EISDIR on the transport stream instead of degrading to less/no output
- failing test:
directory log destination resolves to a log file inside it [thrift], directory log destination resolves to a log file inside it [sea] (see the coverage PR diff under tests/)
- LOGGING-002: DBSQLLogger passes
filepath directly to its file transport with no directory-vs-file resolution, so a log destination naming an existing directory is opened as a file: no log file is created inside it, an EISDIR surfaces asynchronously on the transport stream (uncaught, can abort the host process) instead of degrading to less/no output, and the caller gets no logs — the file-path form works correctly
Context
Summary
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-nodejs. Each finding is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT (post-fix) behavior and stays red until THIS driver (databricks/databricks-sql-nodejs) is fixed, then flips green as a tripwire.
Findings
filepathstraight to its file transport with no directory-vs-file resolution, so a directory log destination yields no log file inside it and raises an async EISDIR on the transport stream instead of degrading to less/no outputdirectory log destination resolves to a log file inside it [thrift], directory log destination resolves to a log file inside it [sea](see the coverage PR diff undertests/)filepathdirectly to its file transport with no directory-vs-file resolution, so a log destination naming an existing directory is opened as a file: no log file is created inside it, an EISDIR surfaces asynchronously on the transport stream (uncaught, can abort the host process) instead of degrading to less/no output, and the caller gets no logs — the file-path form works correctlyContext