title: What actions does job.commit perform in aws glue?
body: <p>Every job script code should be ended with <code>job.commit()</code> but what exact action this function do?</p>
  
  <ol>
  <li>Is it just job end marker or not?</li>
  <li>Can it be called twice during one job (if yes - in what cases)?</li>
  <li>Is it safe to execute any python statement after <code>job.commit()</code> is called?</li>
  </ol>
  
  <p><strong>P.S.</strong> I have not found any description in <code>PyGlue.zip</code> with aws py source code :(</p>