We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a40094 commit 98409cfCopy full SHA for 98409cf
1 file changed
src/jsoniq/session.py
@@ -8,7 +8,11 @@
8
import importlib.resources as pkg_resources
9
10
with pkg_resources.path("jsoniq.jars", "rumbledb-2.0.8.jar") as jar_path:
11
- jar_path_str = "file://" + str(jar_path)
+ if (os.name == 'nt'):
12
+ jar_path_str = str(jar_path)
13
+ else:
14
+ jar_path_str = "file://" + str(jar_path)
15
+ print(f"[Info] Using RumbleDB jar file at: {jar_path_str}")
16
17
def get_spark_version():
18
if os.environ.get('SPARK_HOME') != None:
0 commit comments