When superset connect to kylin,table not found error occured - apache-superset

I followed the steps from the http://kylin.apache.org/blog/2018/01/01/kylin-and-superset/ to connect Apache Superset with Kylin.
When I click the "Test Connection" button, I get the popup that says:
"Seems OK!"
But when I am trying to add a table in the next step, I get the following error message:
"Table [KYLIN_ACCOUNT] could not be found, please double check your
database connection, schema, and table name"
Know someone who can answer?

Please double check that your SCHEMA is correct.

Related

Why cannot superset connect to Athena using PyAthena and rest scheme and throws HTTP 422 "unexpected error"?

Installing Superset with docker-compose. App is up and running. When adding a new database using PyAthena connector, error Unexpected error occurred, please check your logs for details happens with no details in the logs.
First, if you are using docker-compose, check whether you have added driver to the build environment.
echo "PyAthena>1.2.0" >> ./docker/requirements-local.txt
If you don't you will get Driver not found error.
Second, check your URI scheme. It must be of the following form:
awsathena+rest://AKIAXXXX:XXXXXX#athena.{region}.amazonaws.com/{database_name}?s3_staging_dir=s3://{bucket_name_for_results}
If you are missing the query string part you may get mysterious error without a detail reason.
Also note that PyAthena does not check you AK/SK against the staging bucket.

How can we query the already create " LogGroup" and "StreamName" in cloudwatch with AWS SDK C++?

I am working on a project on which I need to query the "Log Group" and "Log Stream" to know that it is already present there or not using the language c++.
Thanks in Advance.
During working on that I have found the answer for that is:
when we create the "Log Group" and "Log Stream" using AWS SDK then at that time in the response we get error message with all the details and reason to not to created the "Log Group" and "Log Stream".
So from the Error message we are able to get the message "ALREADY EXISTED".
So based on that message we can identified that particular group or stream is already existed or not.

Amazon Connect - cannot debug error in Get Customer Input Stage

I am just new to Amazon Connect and Lex and have just starting creating simple projects. I already have created an entire contact flow which uses Lex and Lambda for routing. Problem is in the "Get Customer Input" stage, it seems to always go to the error output and I could not figure out why. I tried to check if there's any way I can find logs for each stages in the contact flow but could not find any.
Can anyone help me solve this issue? I need to see logs to find out the cause of the error.
EDIT: I got the contact flow logs from cloudwatch. See below. I can't find any significant error from it.
{
"Results": "Error",
"ContactId": "<contact-id>",
"ContactFlowId": "<the contact flow id>",
"ContactFlowModuleType": "GetUserInput",
"Timestamp": "2019-07-08T08:27:01.185Z"
}
You might be getting error because you are getting error from your Lex and that is why the flow is going in error.
You can check the logs for connect and Lex in Amazon service - Amazon CloudWatch.
You can also provide details from logs/screenshot what exactly error you are getting, so that I can help.
This might be due to language settings mismatch.
If you're using LexV2 make sure you set the proper Language Attribute as well. Easiest way is using the set Voice block in your Contact Flow, on the very bottom of the block you can enable "set language attribute".
Original answer: https://repost.aws/questions/QUn9bLLnclQxmD_DMBgfB9_Q/amazon-connect-error-using-lex-as-customer-input

How to return error message in a IBM BPM service?

I have a Integration Service that has 2 inbound fields (Login and Acao), both should be required, so I have created Business Object for each one, and at "Simple Type" section, I set the "Error Message" for these fields. When I ran the service by IBM BPM, and do not filled those field, the message is shown, but, if I call the service using SOAP UI, I just receive the error "Internal Server" and the message that I have set at "Error Message" is not showed.
I used "Error Intermediate Event" to catch the error and "Error end Event", but it still not work.
Whats is the best way to make a field required in a IBM BPM Service or how can I still throw an exception, but instead of "Internal Error" show specific message?
Kind regards
I'm not sure about your current IBM BPM version or edition and I'm assuming you are using only Process Designer.
I think it is not possible to throw an error the way you want. You may probably need to implement your Web Service (I'm assuming a WS is used to expose the IS) using IBM Integration Designer (IID), which is a little bit more complex but has a lot of flexibility.
In case that is not an option (only available in Advanced Edition), you can add an additional output variable to your current service to return (throw) the error:
Add a variable output as a String or any desired complex type
Use the regular End Event instead of your Error End Event
Include a script between the Error Intermediate Event and the End Event to map the error description to the new output variable

Sybase DB Error : Database driver error...Send failed

When I am trying to execute a simple select query (from C++ application , Sybase DB) , I get this error .
Database driver error...Send failed
Database driver error...
Function Name : Execute
There is nothing wrong in the query
If I try to execute this same query , from the console query execution goes fine and get the result .
Searched online, no info about this . Whether you guys faced this problem ever,Or what are all the other parameters I can check
I figured out what the issue is . This error comes when DB client (C++ app) not able to send request to server because one more is connection is still open and has some pending results , hence the error. I have closed connections explicitly , that solves the problem