Skip to content

Commit f5c9f17

Browse files
author
Vladislav Lukachik
committed
Get temp dir prefix from system
1 parent 27cb50a commit f5c9f17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/library/yql/providers/dq/local_gateway/yql_dq_gateway_local.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ class TLocalServiceHolder {
8080
TActorSetupCmd(resman, TMailboxType::Simple, 0));
8181

8282
if (withSpilling) {
83-
const char * tempDir = "/tmp/spilling-service-tmp";
83+
auto tempDir = TFsPath{GetSystemTempDir()};
84+
tempDir /= "spilling-service-tmp";
8485

8586
MakeDirIfNotExist(tempDir);
8687

0 commit comments

Comments
 (0)