Skip to content

Commit 19e4d47

Browse files
committed
clean impl
1 parent 6919a70 commit 19e4d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/orc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def get_engine(engine: str) -> "PyArrowImpl":
1616
if engine == "auto":
1717
engine = get_option("io.orc.engine")
1818

19-
if engine not in ["pyarrow"]:
20-
raise ValueError("engine must be 'pyarrow'")
19+
if engine not in ["auto", "pyarrow"]:
20+
raise ValueError("engine must be 'pyarrow or auto'")
2121
return PyArrowImpl()
2222

2323

0 commit comments

Comments
 (0)