Skip to content

Locale dependent uppercase of schema prevents db from uploading data with turkish locale #7464

@nihavend

Description

@nihavend

OrientDB Version: 2.2.20

Java Version: 1.8.0_112

OS: Macos 10.12.5

Expected behavior

File should be uploaded without an error

Actual behavior

Error occurs
ETL process has problem: java.lang.IllegalArgumentException: No enum constant com.orientechnologies.orient.core.metadata.schema.OType.İNTEGER

Steps to reproduce

According to the tutorial at https://orientdb.com/docs/2.2/Import-the-Database-of-Beers.html

  • With turkish region set operating system

  • Download orient db

  • Extract the compressed file

  • Execute the command below with appropriate files

oetl.sh categories.json

Work around

add the jvm parameters in oetl.bat to ORIENTDB_SETTINGS variable
-Duser.language=en -Duser.region=EN

Check for similar bugs and the solutions

http://mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug
https://issues.apache.org/jira/browse/SPARK-20156
https://jira.atlassian.com/browse/CONFSERVER-5931
https://issues.apache.org/jira/browse/AVRO-1493

Thanks to @vezir for reporting the issue

Metadata

Metadata

Assignees

Labels

buglegacy not used anymore

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions