Open davidfrisch opened 2 years ago
Hey @davidfrisch ! Thanks for posting it! Cube Schema doesn't allow to have non-ASCII characters in member names, so the schema generator tries to convert them to ASCII characters. What do you think will be the best way to convert those to ASCII characters?
If you are interested in working on this issue, please leave a comment below and we will be happy to assign the issue to you. If this is the first time you are contributing a Pull Request to Cube.js, please check our contribution guidelines. You can also post any questions while contributing in the #contributors channel in the Cube.js Slack.
Thank you for your reply.
I believe that restricting to only ASCII characters restricts access to multi-languages like Hebrew, Russian or Japanese letters.
Perhaps moving to Unicode would be a solution. What do you think about it?
I was considering adding a parameter in the cube.js file. That will specify the language for each DB source.
return new POSTGRESQL({
server:"localhost",
database: "my_db",
user: "postgres",
password: "postgres",
=> dbIsUnicode: true,
port: 5432,
})
Describe the bug When generating my cube with the schema compiler, column names in Hebrew letters are trimmed and a empty key dimension is generated.
To Reproduce Steps to reproduce the behavior:
Expected behavior To have an object with hebrew letters.
Version: @cubejs-backend/schema-compiler : 0.30.45