8
我在Java的星火驅動進口如何與火花Java數據幀不斷
import org.apache.spark.sql.Column;
import org.apache.spark.sql.functions;
但
DataFrame inputDFTwo = hiveContext.sql("select * from sourcing_src_tbl");
inputDFTwo.withColumn("asofdate", lit("2016-10-2"));
這裏「上火」仍顯示出添加列eclipse中的錯誤(windows)。我應該包含哪個庫才能使它工作。
是什麼錯誤說? –
@AlbertoBonsanto最有可能的是'lit'沒有被定義,這確實是這裏的情況:) – zero323