-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: import error when exploring tables in pipelines that call segmen…
…ts (#1074) ### Summary of Changes Exploring a table in the following code ``` package bug pipeline whoSurvived { val titanic = Table.fromCsvFile("titanic.csv"); val beforeSplit = preprocessBeforeSplit(titanic); } segment preprocessBeforeSplit(table: Table) -> result: Table { yield result = table; } ``` lead to a runtime error `cannot import name 'preprocessBeforeSplit' from 'bug.gen_titanic' (unknown location)`. The document that was created for profiling was not properly built, so an incorrect import was created for the segment, even though it was in the same document.
- Loading branch information
1 parent
7206d62
commit e34b3ff
Showing
3 changed files
with
20 additions
and
13 deletions.
There are no files selected for viewing
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