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

Case-Sensitive Column names not working with fluentd-plugin-sql and oracle-enhanced adapter. #117

Open
PODU opened this issue Nov 20, 2021 · 0 comments

Comments

@PODU
Copy link

PODU commented Nov 20, 2021

In my fluentd config I have provided the following column_mapping:-

<table login.*>
        table 'login'
        column_mapping 'id:id,name:name,email:email,timestmp:timestmp'
</table>

All the comumn names mentioned above are Case-Sensitive. But duing the actual data insertion it gives an error.
The error message is:-

2021-11-20 12:53:03 +0000 [warn]: #0 Failed to create the model. Ignore a record: error_class=ActiveModel::UnknownAttributeError error="unknown attribute 'id' for Fluent::Plugin::SQLOutput::BaseModel_1361409501::Login." table="login" record="{\"id\":\"febf2563-f5e9-4334-a412-6e25082a44ea\",\"name\":\"testuser\",\"email\":\"testuser@asd.com\",\"timestmp\":1637412777396}"

But the same opration is working when using fluentd with MySQL Configurations.

@PODU PODU changed the title Case-Sensitive Column names not working with flentd and oracle-enhanced adapter. Case-Sensitive Column names not working with fluentd-plugin-sql and oracle-enhanced adapter. Nov 20, 2021
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

1 participant