Skip to main content
Solved

ODX Transfer error


ignacio
Contributor
Forum|alt.badge.img+1

Hi team! 

 

I am contacting you because I am trying to transfer data from MariaDB to ODX and I received the following error

failed with error:
System.FormatException: The DateTime represented by the string is not supported in calendar 

 

Any suggestion to solve it? 

Regards 

Ignacio

 

Best answer by ignacio

Hi team, 

I used Manage Query Tables, and I had to use Mariadb’s functions TO_DAYS and FROM_DATE. 

This way I solved the problem.

Thanks 

Ignacio

View original
Did this topic help you find an answer to your question?

7 replies

ignacio
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • 29 replies
  • August 30, 2023

add more information

System.Globalization.GregorianCalendar.


Bernarddb
TimeXtender Xpert
Forum|alt.badge.img+5
  • TimeXtender Xpert
  • 54 replies
  • August 31, 2023

Since i don't have screenshots i'm guessing here. But it seems that the calendar in your first datawarehouse layer is a datetime. but it's getting in as a string from your odx/business unit. Did you try the different types of datatype override? it might be that you need a datetime2 to convert a string into a valid date datatype.


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1071 replies
  • September 1, 2023

Convert it to datetime2, it is likely out of the allowed range for a normal datetime.


ignacio
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • 29 replies
  • Answer
  • September 3, 2023

Hi team, 

I used Manage Query Tables, and I had to use Mariadb’s functions TO_DAYS and FROM_DATE. 

This way I solved the problem.

Thanks 

Ignacio


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1071 replies
  • September 4, 2023

Hi @ignacio 

Do you know how the date in MariaDB was structured before coming in to TX?


ignacio
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • 29 replies
  • September 4, 2023

I don't have access to read the data before TX


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1071 replies
  • September 6, 2023

@ignacio 

Don’t bother then, if it works it works.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings