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

Error when try to insert with flink: HoodieTableFactory not a subtype #4

Open
Soufraz opened this issue Feb 24, 2022 · 1 comment
Open

Comments

@Soufraz
Copy link

Soufraz commented Feb 24, 2022

Hello again.

All containers running and without errors. Installation without errors. The jars of base-image available in container.
But when I am trying to run the statement below with docker-compose exec sql-client ./sql-client-submit.sh, I got this error:

INSERT INTO t1 VALUES
  ('id1','Danny',23,TIMESTAMP '1970-01-01 00:00:01','par1'),
  ('id2','Stephen',33,TIMESTAMP '1970-01-01 00:00:02','par1'),
  ('id3','Julian',53,TIMESTAMP '1970-01-01 00:00:03','par2'),
  ('id4','Fabian',31,TIMESTAMP '1970-01-01 00:00:04','par2'),
  ('id5','Sophia',18,TIMESTAMP '1970-01-01 00:00:05','par3'),
  ('id6','Emma',20,TIMESTAMP '1970-01-01 00:00:06','par3'),
  ('id7','Bob',44,TIMESTAMP '1970-01-01 00:00:07','par4'),
  ('id8','Han',56,TIMESTAMP '1970-01-01 00:00:08','par4');

I got this error:

[ERROR] Could not execute SQL statement. Reason:
java.util.ServiceConfigurationError: org.apache.flink.table.factories.Factory: org.apache.hudi.table.HoodieTableFactory not a subtype

But curiously, after create the table I got a success message:
[INFO] Table has been created.

I would appreciate a little more help here. 😬

@HarjeetSinghGoldy
Copy link

I am also getting the same error, Are you able to fix thsi?

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