输出源中没有写入数据:rxDataStepXdf函数

时间:2015-06-21 14:00:42

标签: r bigdata revolution-r

我执行了以下代码来选择行和& .xdf文件中的列&创建一个新的.xdf文件,但它不起作用。以下是代码&执行后显示的消息:

S_date <- as.Date("2014-05-01")   

rxDataStepXdf(inFile = "/poc/revor/data/ext_merchant_account.xdf",
              outFile = "/poc/revor/data/ext_merchant_account_filtered.xdf",
              rowSelection = ((CUR_MER_STA_CD %in% c("A","R")) & 
                              (CLNT_MAN_CHAN_CD %in% c("I","X"," ")) & 
                              (MER_SETUP_DT < S_date)), 
              varsToKeep = c("SE_NO","SEIMS_INDUS_DS_CD"),
              transformObjects = list(S_date = S_date),
              overwrite = TRUE)

消息:

WARNING: No data was written to the output data source.

以下是.Xdf文件结构:

File name: /poc/revor/data/ext_merchant_account.xdf
Number of observations: 13529673
Number of variables: 74
Number of blocks: 136
Compression type: zlib

只想过滤行&amp;列基于某些条件但输出.xdf文件未创建。

我正在运行代码的环境:

Revolution R enviornment on Hadoop cluster.

有没有人能指出我在这里做的错误。

感谢您提前帮助....:)

干杯,

阿米特

0 个答案:

没有答案