Commit f7dcc3d
authored
perf(table): import the expression parser lazily (#4012)
Import the expression parser lazily in pyiceberg.table
The parser is only used by _parse_row_filter for string row filters,
but importing it at module level pulls in pyparsing (and unittest,
argparse and difflib through pyparsing.testing) on every
`import pyiceberg.table` and `load_catalog`.1 parent a46cbdf commit f7dcc3d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
2042 | 2041 | | |
2043 | 2042 | | |
2044 | 2043 | | |
| 2044 | + | |
| 2045 | + | |
2045 | 2046 | | |
2046 | 2047 | | |
2047 | 2048 | | |
| |||
0 commit comments