You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
In our documentation, some examples have null values in the result set, doc test fails and throws ExpressionEvaluationException because the value of ExprNullValue expression is not fetch-able. Here follows an example:
File "/Users/..../sql/doctest/../docs/user/dql/functions.rst", line 581, in functions.rst
Failed example:
sql_cmd.process('SELECT POWER(-2, 0.5)')Exception raised:
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest functions.rst[4]>", line 1, in <module>
sql_cmd.process('SELECT POWER(-2, 0.5)')
File "/Users/..../sql/doctest/test_docs.py", line 46, in process
output = self.formatter.format_output(data)
File "/Users/..../sql/doctest/.venv/lib/python3.7/site-packages/odfe_sql_cli/formatter.py", line 80, in format_output
output = formatter.format_output(datarows, fields, **self.output_kwargs)
File "/Users/..../sql/doctest/.venv/lib/python3.7/site-packages/cli_helpers/tabular_output/output_formatter.py", line 150, in format_output
column_types = self._get_column_types(data)
File "/Users/..../sql/doctest/.venv/lib/python3.7/site-packages/cli_helpers/tabular_output/output_formatter.py", line 158, in _get_column_types
columns = list(zip_longest(*data))
TypeError: zip_longest argument #1 must support iteration
The text was updated successfully, but these errors were encountered:
In our documentation, some examples have null values in the result set, doc test fails and throws
ExpressionEvaluationException
because the value ofExprNullValue
expression is not fetch-able. Here follows an example:Example in doc:
od> SELECT POWER(-2, 0.5)
Expected result
Actual output
The text was updated successfully, but these errors were encountered: