title: How to convert string to time datatype in pyspark or scala?
body: <p>Please note that I am not asking for <code>unix_timestamp</code> or <code>timestamp</code> or <code>datetime</code> data type I am asking for <code>time</code> data type, is it possible in pyspark or scala?</p>
  
  <p>Lets get in details,
  I have a dataframe like this with column <code>Time</code> string type</p>
  
  <pre><code>+--------+
  |    Time|
  +--------+
  |10:41:35|
  |12:41:35|
  |01:41:35|
  |13:00:35|
  +--------+
  </code></pre>
  
  <p>I want to convert it in <code>time</code> data type because in my SQL database this column is <code>time</code> data type, so I am trying to insert my data with spark connector applying <code>Bulk Copy</code>
  So for bulk copy my both data-frame and DB table schema must be same, that's why I need to convert my <code>Time</code>column into <code>time</code> data type.</p>
  
  <p>Appreciate Any suggestion or help. Thanks in advance.</p>