GithubHelp home page GithubHelp logo

Comments (1)

beccon4 avatar beccon4 commented on June 2, 2024

Further analysis shows that timestamp values cause the same errors

2024/03/25 18:26:09 - Row Preview - ERROR: org.apache.hop.core.exception.HopValueException: 
2024/03/25 18:26:09 - Row Preview - create_time None : Unknown type 0 specified.
2024/03/25 18:26:09 - Row Preview - 
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.core.row.value.ValueMetaBase.getString(ValueMetaBase.java:2133)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.core.dialog.PreviewRowsDialog.getDataForRow(PreviewRowsDialog.java:373)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.core.dialog.PreviewRowsDialog.lambda$getData$7(PreviewRowsDialog.java:342)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5040)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4520)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:519)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.core.dialog.PreviewRowsDialog.open(PreviewRowsDialog.java:244)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.pipeline.transforms.tableinput.TableInputDialog.preview(TableInputDialog.java:574)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.pipeline.transforms.tableinput.TableInputDialog.lambda$open$3(TableInputDialog.java:327)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5855)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1529)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5065)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4517)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:519)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.pipeline.transforms.tableinput.TableInputDialog.open(TableInputDialog.java:336)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineTransformDelegate.editTransform(HopGuiPipelineTransformDelegate.java:174)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:3400)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.mouseDoubleClick(HopGuiPipelineGraph.java:597)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:200)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5855)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1529)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5065)
2024/03/25 18:26:09 - Row Preview - 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4517)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:473)
2024/03/25 18:26:09 - Row Preview - 	at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:351)

... but not always. Retrieving data from a different MySQL Server works as expected (for datatime values at least)

The reason is the option "supports timestamp data type" in the "Relational Database Connection" setting, which is rather unintuitive as it deals with timestamp and we're reading datetime values from the table.

For me it is not clear what the option is for in the first place. Either MySQL/MariaDB supports these data types or not. And we're telling the "Relational Database Connection" which RDBMS we're connecting to. What would be the consequences of having this option selected and the RDBMS doesn't support timestamp?

So would you please either set this option by default or at least provide a more speaking error message. Thank you very much.

from hop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.