This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function ven_recomd_reccall(jsonStr) { | |
| alert('OK'); | |
| } | |
| var recomdParam = {}; | |
| recomdParam.token = "xVtZLw5p4n"; | |
| recomdParam.rec_pos = "p"; | |
| recomdParam.rec_type = "ClickStream"; | |
| recomdParam.uid = "venraaspt.gtm"; | |
| recomdParam.device = "pc"; | |
| recomdParam.topk = 10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LAST_CONTAINER_ID=$(docker ps -q -n 1) | |
| echo $LAST_CONTAINER_ID | |
| docker exec -it $LAST_CONTAINER_ID /bin/bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## hive -e "select avg_score - std_score as Gbl from (select avg(score) as avg_score, std(score) as std_score from ${TDB}.cooc_i2i_filter)t1 " > Gbl.tsv | |
| ## hive -e "select avg_score + 2.1 * std_score as GUB from (select avg(score) as avg_score, std(score) as std_score from ${TDB}.cooc_i2i_filter)t1 " > GUB.tsv | |
| bq_sql=$(cat <<EOF | |
| select avg_score - std_score as Gbl , | |
| avg_score + 2.1 * std_score as GUB | |
| from ( | |
| select AVG(score) as avg_score, STDDEV(score) as std_score | |
| from gohappy_tmp.cooc_i2i_filter | |
| ) t1 | |
| EOF |