Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go v1.22 cannot detect PAR_GO_PATH_DELIMITER as "." #586

Open
nhidh99 opened this issue Jun 13, 2024 · 1 comment
Open

Go v1.22 cannot detect PAR_GO_PATH_DELIMITER as "." #586

nhidh99 opened this issue Jun 13, 2024 · 1 comment

Comments

@nhidh99
Copy link

nhidh99 commented Jun 13, 2024

const PAR_GO_PATH_DELIMITER = "\x01"

I have upgraded my Go project to go version 1.22, and it breaks when read parquet file.

After a long trace, I found out go v1.22 cannot understand "\x01" as string dot ".", it returns empty string "" instead.

Can we have a change to define PAR_GO_PATH_DELIMITER = "." for readability and also prevent this issue?

@robertino
Copy link
Contributor

robertino commented Jul 11, 2024

After a long trace, I found out go v1.22 cannot understand "\x01" as string dot ".", it returns empty string "" instead.

why would you expect "\x01" to be a "."? a dot would be "\x2E" according to ASCII table, and "\x01" is not a printable character (hence "" I guess) that's SOH (^A)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants