SELECT
table_name
FROM INFORMATION_SCHEMA.views
WHERE
table_schema = ANY (current_schemas(false))
ORDER BY 1
SELECT
table_name
FROM INFORMATION_SCHEMA.views
WHERE
table_schema = ANY (current_schemas(false))
ORDER BY 1
To list the running jobs,
ps -ef|grep java
To kill the job,
ill -9 pid
To kill the application by drag & drop
xkill
#!/bin/bash -l
sh /home/abc/data-integration/kitchen.sh -file="/home/abc/etl/j_dataload.kjb" –level:Basic -logfile:/home/abc/etl/Logfiles/j_dataload_$(date +"%Y%m%d_%H%M%s").log
sh /home/abc/data-integration/kitchen.sh -file="/home/abc/etl/j_logfile_archive.kjb" –level:Basic -logfile:/home/abc/etl/Logfiles/j_logfile_archive_$(date +"%Y%m%d_%H%M%s").log
To get the last 'x' months from the current date,
Method 1:
SELECT date_trunc('month', current_date - interval '4' month) as mydate
e.g. Current date is, 2022-01-03 19:30:00
Output is, 2022-09-01 00:00:00
Method 2:
SELECT CURRENT_DATE - INTERVAL '4 months' as mydate
e.g. Current date is, 2022-01-03 19:30:00
Output is, 2022-09-03 00:00:00
Compare two columns:
Source:
Pentaho Steps:
Count.equals(Tgt_Count) ? "TRUE" : "FALSE"
Value Type : String
Count<=Tgt_Count ? "OK" : "NOTOK"
Value Type : String
What is Kiro Kiro is an innovative AI-powered IDE that revolutionizes software development through intelligent assistance and structured wor...