* [refac] use __biPath__.

This commit is contained in:
songchenxuan
2024-07-08 16:47:42 +08:00
committed by 綦新志
parent b14e91985a
commit cda9febf03
+3 -1
View File
@@ -190,10 +190,12 @@ class duckdb
{
$ztpattern = "/\b{$this->prefix}([a-zA-Z0-9_]+)\b/";
$ztvpattern = "/\bztv_([a-zA-Z0-9_]+)\b/";
$replace = "'{$this->tmpPath}$0.parquet'";
$replace = "'__biPath__$0.parquet'";
$sql = preg_replace($ztpattern, $replace, $sql);
$sql = preg_replace($ztvpattern, $replace, $sql);
$sql = str_replace('__biPath__', $this->tmpPath, $sql);
return $sql;
}