Github user aljoscha commented on the pull request:

    https://github.com/apache/incubator-flink/pull/201#issuecomment-64355493
  
    I don't like the name of the method: "enableComments()". It does not enable 
comments, what would that even mean. In my opinion it should be called 
"ignoreComments()".
    
    Also, there is no support for this in the Scala API. We could add it by 
adding an optional parameter to readCsvFile(), like this:
    ```scala
    def readCsvFile[T <: Product : ClassTag : TypeInformation](
          filePath: String,
          lineDelimiter: String = "\n",
          fieldDelimiter: Char = ',',
          ignoreFirstLine: Boolean = false,
          ignoreComments: String = null,
          lenient: Boolean = false,
          includedFields: Array[Int] = null): DataSet[T] = {
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to