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

(Illegal type DateTime64(3) [ while pushing to view default.DNS_PROTOCOL] Latest Version(v0.9.7) DNS-Monster Showing Error while send data to Click-House #45

Closed
HesaMtiPu opened this issue Jan 24, 2023 · 9 comments

Comments

@HesaMtiPu
Copy link

`dnsmonster[8323]: time="2023-01-24T12:38:07+05:30" level=warning msg="Error while executing batch: code: 43, message: Illegal type DateTime64(3) of argument for aggregate function sumWithOverflow: while pushing to view default.DNS_PROTOCOL (f20ac7c5-9b15-4d2f-935f-7fb13614c12f)"

Kindly look into it !!!
Thanks !!!

@mosajjal
Copy link
Owner

Hi there.

what's the version of ClickHouse and dnsmonster running

@HesaMtiPu
Copy link
Author

HesaMtiPu commented Jan 28, 2023

ClickHouse server version 22.12.3
dnsmonster version: v0.9.7

@mosajjal
Copy link
Owner

if you've upgraded dnsmonster from an older version, it's required to re-create the tables on clickhouse based on the new table schema. That's an unfortunate limitation of Clickhouse that the primary key of the table can't have it's typed modified.

@HesaMtiPu
Copy link
Author

i did not upgrade dnsmonster from older version , just installed fresh both in new VM .

@mosajjal
Copy link
Owner

did you use the autobuild.sh script or re-created the folders. Also, if you're using Linux, you can use the build artifact from the latest commit here

@mosajjal
Copy link
Owner

mosajjal commented Feb 2, 2023

also have a look on 0.9.9.

@HesaMtiPu
Copy link
Author

Okey buddy !!!
I will check and share Positive Result.

@HesaMtiPu
Copy link
Author

HesaMtiPu commented Feb 7, 2023

we need to re-create DNS_LOG table and DNS_PROTOCOL after installation of 0.9.9. ????
because problem is still persist.

@mosajjal
Copy link
Owner

mosajjal commented Feb 7, 2023

unfortunately yes. it's a limitation of ClickHouse :(

@mosajjal mosajjal closed this as completed Feb 7, 2023
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

2 participants