Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/fileservice/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func ParsePath(s string) (path Path, err error) {
continue
}
switch r {
case '!', '-', '_', '.', '*', '\'', '(', ')', '@', '/':
case '!', '-', '_', '.', '*', '\'', '(', ')', '@', '/', '=':
continue
}
// printable non-ASCII characters
Expand Down
4 changes: 4 additions & 0 deletions pkg/fileservice/path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@ func TestParsePath(t *testing.T) {
assert.Nil(t, err)
assert.Equal(t, "矩阵", path.File)
assert.Equal(t, "矩阵", path.String())

path, err = ParsePath("hive/year=2024/data.parquet")
assert.Nil(t, err)
assert.Equal(t, "hive/year=2024/data.parquet", path.File)
}
Loading
Loading