有没有办法为 Spark Dataframe 中的字符串类型设置最大长度。我正在尝试读取一列字符串,获取最大长度并使该列的字符串类型具有最大长度 max length。
有没有办法做到这一点 ?
dataframe apache-spark
apache-spark ×1
dataframe ×1