-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHORE] Add error snafus for local executor (#2660)
Example: ``` df = daft.from_pydict({"a": ["foo", "bar", "baz"]}) df = df.select(df["a"].str.match("[")) df.show() Error when running pipeline node ProjectOperator Traceback (most recent call last): File "test.py", line 21, in <module> df.show() File "/Users/colinho/Desktop/Daft/daft/api_annotations.py", line 26, in _wrap return timed_method(*args, **kwargs) File "/Users/colinho/Desktop/Daft/daft/analytics.py", line 185, in tracked_method return method(*args, **kwargs) File "/Users/colinho/Desktop/Daft/daft/dataframe/dataframe.py", line 2278, in show dataframe_display = self._construct_show_display(n) File "/Users/colinho/Desktop/Daft/daft/dataframe/dataframe.py", line 2235, in _construct_show_display for table in get_context().runner().run_iter_tables(builder, results_buffer_size=1): File "/Users/colinho/Desktop/Daft/daft/runners/pyrunner.py", line 216, in run_iter_tables for result in self.run_iter(builder, results_buffer_size=results_buffer_size): File "/Users/colinho/Desktop/Daft/daft/runners/pyrunner.py", line 197, in run_iter results_gen = executor.run( File "/Users/colinho/Desktop/Daft/daft/execution/native_executor.py", line 33, in run PyMaterializedResult(MicroPartition._from_pymicropartition(part)) for part in self._executor.run(psets_mp) daft.exceptions.DaftCoreException: DaftError::ValueError regex parse error: [ ^ error: unclosed character class ``` --------- Co-authored-by: Colin Ho <[email protected]> Co-authored-by: Colin Ho <[email protected]>
- Loading branch information
1 parent
b15b0c7
commit 39cd0ad
Showing
12 changed files
with
165 additions
and
115 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.