我在尝试创建视图时遇到以下错误:
def rangeColume(input:DataFrame, col:String):DataFrame={
input.createOrReplaceTempView("table")
val filter1 = ss.sql("select * from table where prediction >=1 and prediction <=5")
.toDF("topicDistribution","user_id","business_id","s",col)
val filter2 = ss.sql("select * from table where prediction <1 ")
.toDF("topicDistribution","user_id","business_id","s","prediction<1")
val filter3 = ss.sql("select * from table where prediction >5 ")
.toDF("topicDistribution","user_id","business_id","s","prediction>5")
val filter4 = filter2.withColumn(col, lit(1))
.select("topicDistribution","user_id","business_id","s",col)
val filter5 = filter3.withColumn(col, lit(5))
.select("topicDistribution","user_id","business_id","s",col)
return filter1.union(filter4).union(filter5)
}
我的配置规范是:
var obj = document.getElementsByTagName("canvas");
html2canvas(document.getElementById("target"), {
onrendered: function (canvas) {
var a = document.createElement('a');
// toDataURL defaults to png, so we need to request a jpeg, then convert for file download.
a.href = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");
a.download = 'ss.jpg';
a.click();
}
});
答案 0 :(得分:1)
我正在使用桌面设备......它正在使用笔记本电脑。
检查您在以下方面的差异:
CLEARCASE_PRIMARY_GROUP
是什么?)cleartool lsview -l -full -pro -cview
的内容)尝试在桌面上使用简单的配置规范:
element * CHECKEDOUT
element * /main/LATEST
确保至少可以设置配置规范。
然后通过向其添加位来回到预期的配置规范,直到确定该目标的确切部分使setcs
失败。